How to detect device model by macro? i had using something like this but the result on the simulator alway IS_IPHONE_5
#define IS_IPAD (UI_USER_INTERFACE_IDI
I encountered the problem while migrating from an iOS 7 project to a iOS 8 project, since I didn't add a launch screen scene to my project.
In this case the screen size for iPhone 6 and 6+ are as iPhone 5.
See from apple documentation; You use a launch XIB or storyboard file to indicate that your app runs on iPhone 6 Plus or iPhone 6.