ios - 是否可以在 xCode 5.0 上使用适用于 iOS 的旧式控件?

标签 ios cocoa-touch ios7

iOS 7 的新外观与之前的版本差别太大。 是否可以在 xCode 5.0 上的 iOS 7 上使用旧样式控件?

最佳答案

当然可以,但是你需要从之前的xCode中复制SDK,我都有(xCode 4,xCode 5)

复制这个

/Applications/Xcode 4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk

/Applications/Xcode 5.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/

并复制这个:

/Applications/Xcode 4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk

/Applications/Xcode 5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/

并且,在您的项目中将“Base SDK”(在build设置上)更改为 iOS 6.1 而不是最新的

关于ios - 是否可以在 xCode 5.0 上使用适用于 iOS 的旧式控件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18769417/

相关文章:

ios - Testflight 不允许使用 iOS 8.1 SDK 编译的 iOS 7.1 应用程序安装在 iOS 7.1.2 iPhone 上

ios - 如何像 iMessage 群聊一样在导航栏中放置 Collection View

ios - UIPanGestureRecognizer 没有名为 touchesBegan 的成员

cocoa-touch - ScrollView 内的 TableView

iphone - 更改 View 时 ASIHTTPRequest 异步崩溃

ios7 - iOS 7 didEnterRegion 根本没有被调用

core-data - NSPredicate 用于检查核心数据中的 NULL 和空白字符串

iOS 7 截取部分 UIView 的屏幕截图

objective-c - 为什么我看到一个 ARC 问题说我确实声明了一个带有特定选择器的方法?

ios - 读取文件内容不使用 FileManager