Shazron Abdullah created CB-1315:
------------------------------------
Summary: Setting the view controller's view size in
viewWillAppear, use rootViewController
Key: CB-1315
URL: https://issues.apache.org/jira/browse/CB-1315
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Fix For: 2.1.0
pull request: https://github.com/apache/incubator-cordova-ios/pull/40
Starting in iOS 4, the recommended way for managing views and view controllers
with respect to a `UIWindow` instance is through UIWindow's
`rootViewController` property, as opposed to the previous method of adding the
view via `addSubview`. Updated the inheriting view controllers and app
delegates to follow the recommended pattern.
**Note:** This also requires moving the code that sets the default view's frame
size to the view controller's `viewWillAppear` method. This code is managed in
the consuming app's view controller (as opposed to `CDVViewController`), in the
interests of Cordova modularity in developers' apps.
--
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