Xcode 7.3 How to Convert my existing iPhone application to universal app, for work with iPad in iOS -


previously, iphone application. want run in ipad well. chose target universal, when run in ipad simulator. remains color of view without labels , textfields. general

how can make application run both in ipad , iphone?

step 1 : first need change size class wany x hany. when open controller controls visible disabled, because change size class , constraints defined not compatible it.

controls in different size class

step 2 : select controls in controller goto bottom of attribute inspector. see checkbox c x any. uncheck it.

enter image description here

step3 : have add new constraint any x any. have changed size class **any x ** check above check box default activate constrains current size class.

activate current constraints.

step 4 : need add missing constraints ever necessary controls.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -