I have created my iOS application using Xcode but it works fine with iPhone 6 , but when I try to simulate in any other device the UI gets misaligned. How do I make the application to fit correctly to all the iPhone devices ?
You should check autolayout. If You google it You should get A LOT of examples and tutorials, here is one of ma favourites: http://www.raywenderlich.com/50317/beginning-auto-layout-tutorial-in-ios-7-part-1
Follow these links Autolayout or Autolayout programatically
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.