[ https://issues.apache.org/jira/browse/CB-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450809#comment-13450809 ]
Michal Mocny commented on CB-1387: ---------------------------------- Possibly you are right, but I was following the convention of the above IsAtLeastiOSVersion macro. IsIPad does certainly have higher odds of collision, though. Macro was added as part of the orientation fix (pull request linked above): commit d8575d7eece28ec2c90de4b448af729accaf2567 Author: Michal Mocny <mmo...@gmail.com> Date: Wed Aug 29 10:53:59 2012 -0400 > Splash screens broken due to error in iPad detection code > --------------------------------------------------------- > > Key: CB-1387 > URL: https://issues.apache.org/jira/browse/CB-1387 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.1.0 > Reporter: Tom Clarkson > Assignee: Michal Mocny > > The fix for CB-1182 removed the IsIPad function from CDVViewController in > favor of a macro in CDVAvailability. Now IsIPad always returns false, > preventing showSplashScreen from finding the correct images. > The issue appears to be load order - #ifdef UI_USER_INTERFACE_IDIOM returns > false in CDVAvailability.h, but works correctly when I copy the same macro > into CDVViewController.m. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira