简体   繁体   English

运行iOS 8.3的iPhone 4S上的自动布局问题

[英]Autolayout issue on iPhone 4S running iOS 8.3

I've been testing one of my apps in all iOS devices that I have access to. 我已经在我可以访问的所有iOS设备中测试了我的一个应用程序。 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. 我使用情节提要添加的自动布局约束在所有它们中都可以正常使用,但在运行iOS 8.3的iPhone 4S中可以使用。 I made the same test in another iPhone 4S running iOS 7 and works fine as well. 我在另一台运行iOS 7的iPhone 4S上进行了相同的测试,并且工作正常。

Does anyone have any idea what may be going? 有谁知道会发生什么? Is there any bug related to auto-layout on iOS 8 for iPhone 4S? iPhone 8S的iOS 8上是否存在与自动布局相关的错误?

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 . 因此,我在Autolayout和iOS 7中遇到的唯一“问题”是相对于边距约束 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. 此功能是为iOS 8开发的,在某些情况下,我在iOS 7上遇到一些UI问题,但我不确定这是您的问题:请最终检查是否使用此功能并将约束设置为不设置边距。

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? 在装有iPhone 4S的iOS 8.3中,布局会发生什么变化? :) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM