I've been testing one of my apps in all iOS devices that I have access to. The autolayout constraints that I added using storyboard works fine in all of them but in a iPhone 4S which is running iOS 8.3. I made the same test in another iPhone 4S running iOS 7 and works fine as well.
Does anyone have any idea what may be going? Is there any bug related to auto-layout on iOS 8 for iPhone 4S?
I appreciate any help!
uhm I try to help you.
So the only "problem" that I had already encountered with Autolayout and iOS 7 is relative to the constraints to margins. This feature is developed for iOS 8 and in some case I had some UI problems with iOS 7, but I'm not sure that is your problem: check eventually if you use this feature and set constraints not to margins.
I read the contraints that you use, it's hard to understand really your situation but first of all, do you really need the set some priority for few constraints?
..and please, add comment or edit your question with more info: we need to understand what is the real problem; in iOS 8.3 with iPhone 4S what's happen to your layout? :)
Related
I need a small help. As suggested by the forums here, I used auto layout in all screens I develop. In my iOS app, I have around 11 screens. I developed with my iPhone which is iPhone 6s. Last week, when I went to deploy this in my tester iPhone, who uses iPhone 7s, I noticed that most of the screens, the alignment is not the same as my iPhone.
I have auto layout enabled and constraints are not changed. Please can anyone help me on how to make my screens uniform in all iPhone devices? I am using xcode 10.
Thanks
I am ready with the coding and everything. My app is an iPhone app and it looks great in iPhone5, 5S, 6, 6Plus, 6S and 6SPlus but not on iphone4.
There is formatting issue. the buttons are overlapping because of the constraints but they look perfect on iphone5 and above. Similarly it works perfect on iPadPro but not one other iPads.
My targeted decides are iPhone5 and above. Do you think I still need to fix iphone4 formatting?
Would apple check on all devices even thought that's not my targeted device?
Thanks
Yes, your app must work properly on the iPhone 4(s). And it must work properly on all iPads, not just the iPad Pro. Fix it or be rejected.
I have to develop an app that should run on all the iPhone devices, whether it is iPhone 4/4S, iPhone 5/5S, or iPhone 6/6+, using Xcode 6.1.1. Will an app developed using Storyboard run on devices prior to iPhone 5?
If not, then what things should I consider so that app will run seamlessly on all the iPhone devices?
Storyboard and ARC will work till iOS 5.
Apple Document:
Storyboard Compatibility
Note: This are Some Nice Tutorials About AutoLayout.
AppCoda,
raywenderlich
Try to adapt with Size classes and auto layout. First I didn't know how autolayout and sizeclasses work, and it was so tough for me. Yeah, now the problem with multiple screen is not a big deal anymore.
Please read apple's docs:
Auto Layout Link
Size Classes Link
I have created a project with Xcode 6.1 and set the deployment target to iOS 7.1
I have implemented the autolayout but deselected the size classes option from the storyboard.
Now whenever i run app on ios 8.1 simulators everything is fine but the moment i run app on iOS 7.1 simulators it causes problem.. Even if i deselect the autolayout option than to its casuing the same layout issue.
See Images to get better understanding
simulator 8.1 iPhone 5
simulator 7.1 iPhone 5
I am really not getting whats the issue as if the issue was related to Autolayout than after deselecting atleast screen should be covering the whole screen.
Please help me!!! Thanks a lot in advance
Right now I am working on non-arc project for ios3.0. They haven't designed anything by interface builder. Everything coded is both for landscape view and portrait view separately. My Problem is when I try to add the same image for background of another screen, it appears to be cropped. also enabling the auto resize subviews gives me error. When I try to set views for portrait and landscape view, it doesn't work.
one more thing, that project is only developed for iPad. if they want it to be done for iPhones, should i have to start from scratch separately for iPhone because of above mentioned problems ?
please suggest me if the upgraded app will support for 64 bit ipad retina.
Thanx in advance
Make your project universal by changing the setting shown in the image below. Also it is better to drop support for iOS 3 as nobody uses it anymore and support iOS 6 and above. It will give much more options and flexibility regarding frameworks and layouts.
To support 64-bit devices you have to build with iOS 5 or higher as minimum supported iOS version. Best practice is to support the two latest releases (iOS 6 and 7 at this moment) as most iOS users update their devices fast after each os release.