I am creating a simle application on iphone.I want to change iphone app to ipad application.how to make it?.
Then how to change view size means Through interface builder..
I can't 开发者_开发知识库figure why I cannot resize a UIView in a xib in Interface Builder.
I created a new view XIB in xcode and in the size inspector, the width and height are disabled and grayed out to 320 by 460 I want to change 720 *720
I am creating all the view through Inteface builder ......Thanks
You need to disable all Simulated metrics for view in interface builder (status bar, top bar, bottom bar) then you will be able to change those values.. It should look like this:
For those who develop with Xcode 4.5+, there is an extra parameter which should be set to None
. By default, Xcode will assume using Retina 4 inch screen, set that metric to None
to enable custom resizing for the view.
Just Change the Property of the view.
IN View Attribute just change the Status Bar value to unspecified.
Thts it..!!
精彩评论