mardi 30 décembre 2014

condition for loading storyboard for iphone 6 without autolayout

is it work for iphone 6 in potrait view without autolayout?



CGRect screenBounds = [[UIScreen mainScreen] bounds];
if (screenBounds.size.height >= 568) {
// code for iphone5 and iphone 6 is it work for different frame etc set?
}
else {
// code for iphone4
}



Aucun commentaire:

Enregistrer un commentaire