how to make the view controller compatible with iphone 5 if xib not taken -


how can view controller make compatible iphone 5 if it's xib file not taken. possible make change programmatically. in advance.

yes defiantly can this. xib files open 1 in texteditor - you'll see consists of readable xml code. making viewcontroller compatible iphone 5 put if else condition , make thing separately different devices checking height of particular device
defiantly going long job

for universal app, forex app, i'm using screen height detection concept so:

cgsize screensize = [[uiscreen mainscreen] bounds].size;  if (ui_user_interface_idiom() == uiuserinterfaceidiomphone) {     if (screensize.height > 480.0f) {         /*do iphone 5 stuff here.*/     } else {         /*do iphone classic stuff here.*/     } } else {     /*do ipad stuff here.*/ } 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -