When create a uiviewcontroller file in my xcode the uiview size becomes so larger than the default iphone screen size like this
I can't figure out why it occurs and how resize to the default size of iphone.
Make sure while creating class this should be done
Yeah you can do it easily. Click on the view in XIB go the fourth tab on the properties window (right side) Under simulated metrics the first accordian check the size parameter (would be 'none' by default) and change it to 'free form' when you want XIB of custom size.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.