[
https://issues.apache.org/jira/browse/CB-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mitchell Wagner updated CB-4059:
--------------------------------
Description:
Up to version 2.2, it was possible to customize the layout of
MainViewController.xib in interface builder, by adding a CDVCordovaView to the
main view and connecting it proper IBOutlet. One would then make the following
changes;
AppDelegate.m:
self.viewController.webView.delegate = self.viewController;
AppDelegate.h:
@property (nonatomic, strong) IBOutlet MainViewController* viewController;
This is broken in 2.3 and onward, including the current 2.9.0.
Console:
2013-07-01 14:31:36.230 KME[4696:c07] Multi-tasking -> Device: YES, App: YES
<Add then nothing>
For a live version of this working in a released app, see "IU Mobile" in app
store.
I'll attach screenshots in the comments on this Jira.
was:
Up to version 2.2, it was possible to customize the layout of
MainViewController.xib in interface builder, by adding a CDVCordovaView to the
main view and connecting it proper IBOutlet. One would then make the following
changes;
AppDelegate.m:
self.viewController.webView.delegate = self.viewController;
AppDelegate.h:
@property (nonatomic, strong) IBOutlet MainViewController* viewController;
This is broken in 2.3 and onward, including the current 2.9.0.
For a live version of this working in a released app, see "IU Mobile" in app
store.
I'll attach screenshots in the comments on this Jira.
> Unable to Customize layout of MainViewController.xib.
> ------------------------------------------------------
>
> Key: CB-4059
> URL: https://issues.apache.org/jira/browse/CB-4059
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0
> Environment: iOS SDK 6.1,
> Mac OS X 10.8.4,
> Xcode 4.6.3 (4H1503)
> Reporter: Mitchell Wagner
> Assignee: Shazron Abdullah
> Attachments: File Owner's Connections.png, Results.png, UIWebView's
> Connections.png, With WebView's Delegate set to Xib's File Owner..png
>
>
> Up to version 2.2, it was possible to customize the layout of
> MainViewController.xib in interface builder, by adding a CDVCordovaView to
> the main view and connecting it proper IBOutlet. One would then make the
> following changes;
> AppDelegate.m:
> self.viewController.webView.delegate = self.viewController;
> AppDelegate.h:
> @property (nonatomic, strong) IBOutlet MainViewController* viewController;
> This is broken in 2.3 and onward, including the current 2.9.0.
> Console:
> 2013-07-01 14:31:36.230 KME[4696:c07] Multi-tasking -> Device: YES, App: YES
> <Add then nothing>
> For a live version of this working in a released app, see "IU Mobile" in app
> store.
> I'll attach screenshots in the comments on this Jira.
--
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