Skip to content

Commit

Permalink
[Fix] Import <UIKit/UIWebView.h> for iOS.
Browse files Browse the repository at this point in the history
Important for static libraries that do not import <UIKit/UIKit.h> in the Precompiled Header (pch).
  • Loading branch information
ruslanskorb committed Aug 5, 2014
1 parent 362cf70 commit 10a214b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WebViewJavascriptBridge/WebViewJavascriptBridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#define WVJB_WEBVIEW_TYPE WebView
#define WVJB_WEBVIEW_DELEGATE_TYPE NSObject
#elif defined __IPHONE_OS_VERSION_MAX_ALLOWED
#import <UIKit/UIWebView.h>
#define WVJB_PLATFORM_IOS
#define WVJB_WEBVIEW_TYPE UIWebView
#define WVJB_WEBVIEW_DELEGATE_TYPE NSObject<UIWebViewDelegate>
Expand Down

0 comments on commit 10a214b

Please sign in to comment.