I have an old iOS application which is compatible for iPhone 5S(up to 5S). It was built by using regular xibs not even storyboard and not used any auto-layout concepts(auto-layouts option is also not checked for the xib), Now i placed relative splash screens for iPhone 6 and 6-plus to update the compatibility for rest of two devices and the user interface looking terrible now. Is there any simple way to update the project to compatible for iPhone 6 and 6-Plus, i mean to adjust the UI even after placing the relative splash screens for iPhone 6 and 6-plus(Without slash screens the app is working fine in iPhone 6 and 6-plus but client want to see their app in the Appstore must prompt like "This app is optimized for iPhone 5, iPhone 6, and iPhone 6 Plus."). Don't think i am a stupid asking for a simple solution for this, but what to do i have 50+ xibs are there in that application so suggest me which one is better and easiest way to update the project compatibility. Please suggest. Thanks.
So I looked into this issue in everywhere and here is what I can suggest:
1.You can update every view to autolayout. Pros: Every view of your app will be adaptive when you are done with it. In the next generation iPhone screens you won't get any problems in UI/UX side. Cons: If view hierarchies or animations are complicated it could be a very hard and stressful process. And depends on views again it will be a longer process than it has to be.
2.You can update every view with AutoresizingMask and frame setting. Pros: It can be a faster process than 1st one. You could handle complicated views much faster and have a iPhone 6 resolution transition easily. Cons: It would be a riskier approach by means when a new iPhone size comes up you may need to update "ever view" of your app again.
3.You can mix Autolayout with Autoresizingmask and frame setting to optimize. Pros: It would be slower than 2nd approach but not that risky at all and It can be much faster than 1st. Cons: It will be a mixed fixes and you will need to update your views but not all of them.
From these 3 I would pick the 3rd one cause: 1. You will be supporting iPhone6 optimizely fast. 2. Most of your views will be autolayouted which would makes your app more adaptive. And there won't be so many views to deal with.
And for picking which way to do I'd first check view hierarchy then animations in that hierarchy. Hope that would help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With