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.
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.
step 2 : select controls in controller goto bottom of attribute inspector. see checkbox c x any. uncheck it.
step3 : have add new constraint any x any. have changed size class **any x ** check above check box default activate constrains current size class.
step 4 : need add missing constraints ever necessary controls.
Comments
Post a Comment