Display screen for iOS6 and iOS7 in simulator is different

前端 未结 4 1892
离开以前
离开以前 2020-12-18 16:20

\"enter

\"enter

4条回答
  •  悲哀的现实
    2020-12-18 16:54

    Main UI difference in iOS 6 and iOS 7 is that status bar is included inside the viewcontroller in iOS 7. it means your view controller is 20 px greater than iOS6. you have to adjust your items. First design your items according to iOS 6 which is better way and you must have a lot of practice of doing that, now set Δy to 20 for every item.

    Or design your items according to iOS 7 and set Δy to -20

提交回复
热议问题