如果我使用 swift 在 XCode 7.2 和 SDK 9.2 中创建 iOS 应用程序,它会在 iPhone 4 和 iOS 6 中工作吗?
If I create iOS application in XCode 7.2 with SDK 9.2 using swift will that work in iPhone 4 with iOS 6?
如果我使用 swift 在 XCode 7.2 中使用 SDK 9.2 创建 iOS 应用程序并将应用程序兼容性设置为 SDK 6,该应用程序是否会在 iPhone 4 秒内运行iOS6个?
或者是否有任何兼容性作弊 sheet?
Swift 仅适用于 iOS 7 及更高版本,它通常会在较早的 OS 版本上启动时崩溃。
这是关于兼容性的 apples 简短介绍 https://developer.apple.com/swift/blog/?id=2
App Compatibility
Simply put, if you write a Swift app today and submit it to the App Store this Fall when iOS 8 and OS X Yosemite are released, you can trust that your app will work well into the future. In fact, you can target back to OS X Mavericks or iOS 7 with that same app. This is possible because Xcode embeds a small Swift runtime library within your app’s bundle. Because the library is embedded, your app uses a consistent version of Swift that runs on past, present, and future OS releases.
如果我使用 swift 在 XCode 7.2 中使用 SDK 9.2 创建 iOS 应用程序并将应用程序兼容性设置为 SDK 6,该应用程序是否会在 iPhone 4 秒内运行iOS6个? 或者是否有任何兼容性作弊 sheet?
Swift 仅适用于 iOS 7 及更高版本,它通常会在较早的 OS 版本上启动时崩溃。
这是关于兼容性的 apples 简短介绍 https://developer.apple.com/swift/blog/?id=2
App Compatibility Simply put, if you write a Swift app today and submit it to the App Store this Fall when iOS 8 and OS X Yosemite are released, you can trust that your app will work well into the future. In fact, you can target back to OS X Mavericks or iOS 7 with that same app. This is possible because Xcode embeds a small Swift runtime library within your app’s bundle. Because the library is embedded, your app uses a consistent version of Swift that runs on past, present, and future OS releases.