Reputation: 103
If I add a WKWebView in the storyboard, Xcode throws an error saying that it is not supported for iOS 10 and below. However, if I add it programmatically, everything works fine. Does that mean if I add it in the storyboard, my app will only work with iOS11 when shipped out to the App Store?
Upvotes: 2
Views: 3908
Reputation: 17585
You can't make build if your deployment target is below iOS 11 and WKWebview
added via Storyboard. But You can add WKWebview programmatically.
WKWebview available since iOS 9. Now only they provide the option to add WKWebview via Storyboard. But I don't know why Apple has this restriction.
Upvotes: 4