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/24 01:45:39 UTC

[jira] [Resolved] (CB-4059) Unable to Customize layout of MainViewController.xib.

     [ https://issues.apache.org/jira/browse/CB-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-4059.
----------------------------------

    Resolution: Not A Problem

Resolving. Re-open if this is still 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)