From 73e3d5d4077636487f07be1beff3b2714ee2b276 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Mon, 25 Mar 2013 15:57:26 +0000 Subject: upgrade to phonegap 2.5 for ios --- iPhone/CordovaLib/Classes/CDVViewController.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'iPhone/CordovaLib/Classes/CDVViewController.h') diff --git a/iPhone/CordovaLib/Classes/CDVViewController.h b/iPhone/CordovaLib/Classes/CDVViewController.h index 8318398..82e22f6 100755 --- a/iPhone/CordovaLib/Classes/CDVViewController.h +++ b/iPhone/CordovaLib/Classes/CDVViewController.h @@ -17,9 +17,8 @@ under the License. */ -#import "CDVCordovaView.h" - -#import "JSONKit.h" +#import +#import #import "CDVAvailability.h" #import "CDVInvokedUrlCommand.h" #import "CDVCommandDelegate.h" @@ -37,19 +36,15 @@ NSString* _userAgent; } -@property (nonatomic, strong) IBOutlet CDVCordovaView* webView; +@property (nonatomic, strong) IBOutlet UIWebView* webView; @property (nonatomic, readonly, strong) NSMutableDictionary* pluginObjects; @property (nonatomic, readonly, strong) NSDictionary* pluginsMap; -@property (nonatomic, readonly, strong) NSDictionary* settings; +@property (nonatomic, readonly, strong) NSMutableDictionary* settings; @property (nonatomic, readonly, strong) NSXMLParser* configParser; @property (nonatomic, readonly, strong) CDVWhitelist* whitelist; // readonly for public @property (nonatomic, readonly, assign) BOOL loadFromString; -@property (nonatomic, readwrite, copy)NSString * invokeString CDV_DEPRECATED(2.0, "Use window.handleOpenURL(url instead. It is called when the app is launched through a custom scheme url."); - -@property (nonatomic, readwrite, assign) BOOL useSplashScreen; -@property (nonatomic, readonly, strong) IBOutlet UIActivityIndicatorView* activityView; -@property (nonatomic, readonly, strong) UIImageView* imageView; +@property (nonatomic, readwrite, assign) BOOL useSplashScreen CDV_DEPRECATED(2.5, "Add/Remove the SplashScreen plugin instead of setting this property."); @property (nonatomic, readwrite, copy) NSString* wwwFolderName; @property (nonatomic, readwrite, copy) NSString* startPage; @@ -59,11 +54,10 @@ + (NSDictionary*)getBundlePlist:(NSString*)plistName; + (NSString*)applicationDocumentsDirectory; -+ (NSString*)originalUserAgent; - (void)printMultitaskingInfo; - (void)createGapView; -- (CDVCordovaView*)newCordovaViewWithFrame:(CGRect)bounds; +- (UIWebView*)newCordovaViewWithFrame:(CGRect)bounds; - (void)javascriptAlert:(NSString*)text; - (NSString*)appURLScheme; -- cgit v1.2.3