aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnimal451 <ben.johnstone@gmail.com>2020-01-06 13:40:42 +0000
committerGitHub <noreply@github.com>2020-01-06 13:40:42 +0000
commit7c618dc76e3f7fe9790975cbc1f8d636feab056f (patch)
tree23d138d886221851610ec7c5a505ce632584e335
parent81670c8ce6487ab706eb361f4dbac7e63a8c88e5 (diff)
Update ZBarHelpController.h to use WKWebView
As per Issue #17, Apple have deprecated UIWebView and will refuse future App Store submissions for apps using that API.
-rw-r--r--iphone/include/ZBarSDK/ZBarHelpController.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/iphone/include/ZBarSDK/ZBarHelpController.h b/iphone/include/ZBarSDK/ZBarHelpController.h
index 37639dd..4badddc 100644
--- a/iphone/include/ZBarSDK/ZBarHelpController.h
+++ b/iphone/include/ZBarSDK/ZBarHelpController.h
@@ -22,6 +22,7 @@
//------------------------------------------------------------------------
#import <UIKit/UIKit.h>
+#import <WebKit/WebKit.h>
@class ZBarHelpController;
@@ -36,12 +37,12 @@
// failure dialog w/a few useful tips
@interface ZBarHelpController : UIViewController
- < UIWebViewDelegate,
+ < WKNavigationDelegate,
UIAlertViewDelegate >
{
NSString *reason;
id delegate;
- UIWebView *webView;
+ WKWebView *webView;
UIToolbar *toolbar;
UIBarButtonItem *doneBtn, *backBtn, *space;
NSURL *linkURL;

Privacy Policy