How to configure auto layout constraints for iPhone 6 plus?

Posted:
in Genius Bar edited December 2014

I have been trying to implement auto-layout in my application and it runs fine on all differently sized iPhone screens, but when I run it on iPhone 6 plus simulator, I can see some margin/gap on both ends of the views that are supposed to be aligned to the edge of the window. I also noticed that while adding constraints for a view that has got boundaries aligned with the window, the horizontal spacing is stated as -16 instead of zero. What is the reason behind this and how can I make sure that after adding constraints, the views are aligned perfectly on all the screens including iphone 6 plus? Any help would be appreciated.



Note: These observations were made on Xcode 6 simulators since I dont have an actual iPhone 6 with me yet.

Sign In or Register to comment.