Skip to content

Commit

Permalink
[ios] s/appViewController/viewController/
Browse files Browse the repository at this point in the history
yay deprecation!
  • Loading branch information
alunny committed Aug 9, 2012
1 parent 47ab6ad commit 296566a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.phonegap.plugins.childbrowser"
version="3.0.3">
version="3.0.4">

<name>Child Browser</name>

Expand Down
2 changes: 1 addition & 1 deletion src/ios/ChildBrowserCommand.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ - (void) showWebPage:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)o
NSString* strOrientations = [ options objectForKey:@"supportedOrientations"];
NSArray* supportedOrientations = [strOrientations componentsSeparatedByString:@","];
*/
CDVViewController* cont = (CDVViewController*)[ super appViewController ];
CDVViewController* cont = (CDVViewController*)[ super viewController ];
childBrowser.supportedOrientations = cont.supportedOrientations;

if ([cont respondsToSelector:@selector(presentViewController)]) {
Expand Down

0 comments on commit 296566a

Please sign in to comment.