Xcode 6 + iOS 8 SDK but deploy on iOS 7 (UIWebKit & WKWebKit)

后端 未结 2 1174
走了就别回头了
走了就别回头了 2020-12-13 10:27

We are creating an app using Xcode 6 beta 5 + Swift on iOS 8 SDK. We\'d like to deploy to iOS 7 as well. Is that possible? When we set the deployment target of the project t

2条回答
  •  失恋的感觉
    2020-12-13 11:02

    If you need to support iOS7, you cannot use WebKit2 (WK*) classes, or you need to implement twice the logic, once for iOS8 using WK* and once using UIWeb*, and at runtime choose according to the operating system version.

提交回复
热议问题