You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/01/23 20:54:44 UTC
[jira] [Commented] (CB-4059) Unable to Customize layout of
MainViewController.xib.
[ https://issues.apache.org/jira/browse/CB-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13880285#comment-13880285 ]
Shazron Abdullah commented on CB-4059:
--------------------------------------
Speaking about Cordova 3.x here.
I could add subviews, etc in MainViewController.xib and connect to their outlets in MainViewController, and set properties on the subviews.
If there is something I am missing, let me know -- if not I will probablt resolve this as Not A Problem
> 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: CustomChanges.png, 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 was sent by Atlassian JIRA
(v6.1.5#6160)