CB-5649 - InAppBrowser overrides App's orientation

This commit is contained in:
Shazron Abdullah
2014-04-17 16:32:34 -07:00
parent 11f833b46d
commit b9f8fcd8a9
2 changed files with 42 additions and 2 deletions
+7 -1
View File
@@ -63,7 +63,7 @@
@end
@interface CDVInAppBrowserViewController : UIViewController <UIWebViewDelegate>{
@interface CDVInAppBrowserViewController : UIViewController <UIWebViewDelegate, CDVScreenOrientationDelegate>{
@private
NSString* _userAgent;
NSString* _prevUserAgent;
@@ -92,4 +92,10 @@
- (id)initWithUserAgent:(NSString*)userAgent prevUserAgent:(NSString*)prevUserAgent browserOptions: (CDVInAppBrowserOptions*) browserOptions;
@end
@interface CDVInAppBrowserNavigationController : UINavigationController
@property (nonatomic, weak) id <CDVScreenOrientationDelegate> orientationDelegate;
@end