Upgraded app to iOS 7 - error “Auto Layout on iOS Versions prior to 6.0” (but want iOS 7 not older)

前端 未结 7 1854
情话喂你
情话喂你 2021-02-01 13:41

I have an iOS app that worked well on all devices in iOS 6.

I recently upgraded my xcode to version 5.0 and tried to build the same app for iOS 7 on an iPhone 5.

7条回答
  •  半阙折子戏
    2021-02-01 14:08

    Your problem is that the "Deployment Target" for your project is "5.0" and you are using a feature that isn't available for iOS 5.

    Check the "General" tab for your build target

    enter image description here

    and update it to at least 6.0 to use Auto Layout

    enter image description here

提交回复
热议问题