Before ios 6 I don't have this problem.
My project was compile for iOs 5.
But in a device with iOs5, i don't know why they have black band was appear on the top like in the picture.
But only on the initial screen. If I go and return to this page it's ok.
No probleme with a device on iOs6.
Maybe I have forgot something new?
Related
Xcode Version 6.3.2 (6D2105)
IOS 8.0
I have a screen with 3 buttons
One at the Center, one above and one below.
The screen looks ok in iphone4 and iPhone 6.
But it looks differentt in iPhone 5.
I am using same constrains for all devices.
I checked this on simulator. I don’t’ know is there any
problem with simulator or am i doing something wrong.
The screen shots are attached.
I'm having issues getting my screens to all look right in my app. In the iPhone 3.5" screen it shows as:
This is great, however on a 4" screen it looks like:
The issue is that I CANNOT use autoLayout as I am building this to run on iOS 5.1 as the deployment target. So, what are some ways that I can make the app buttons not cover up the logo on the iPhone 5 screen?
I am making a project like Facebook menu from Github (Link). as it doesnot support for iPhone5 Screen so i recreated the project but there is some problem with the the iPhone 3.5 inch screen . The same is working fine on iPhone 5 screen i.e 4 inch screen. Please see the attached screenshots. Does anybody has idea whats going wrong ?.
While you can see the above screenshot,the 1st and 2nd screenshot are of iPhone 3.5 inch screen,the problem with both screen is that i am getting the green color table view in bottom.
while the 3rd and 4th are of iPhone 4 inch screen are have no issues.
Any help will be appreciated
Thanks in Advance :-)
Try turning Auto Layout off (if you're using Interface Builder).
I'm creating an app using xcode 4.5 that is meant to support only the 3.5 inch retina display. Thus, in the attributes inspector for the view controller I have set the size to be 3.5 inches. However, I'm testing my app on a iphone 5 and the app auto-resizes to fit the whole screen. Do you know why this is happening? How can i make the app remain in 3.5 inches of size even when viewed off of a iphone 5?
Thanks
If you remove the default 568h#2x icon from your project the app will run the way you want. On the iPhone 5, you will get black bars on top and bottom to show what it would look like on the 4. Hope this helps.
The answer is - you can't do that :) But you can download ios5 simulator and set it's device property to 3.5 screen device
I got an old app, wich is compatible with 3.5 inch displays, like on iPhone4S and older.
This is app's screen:
When i tried run this app on iPhone5 simulator it looks really bad!
Apple promis that all old apps will appear with black lines on top and bottom! How should i do it? I don't want to refactor all my code from xib files.
Thanks
Did you add launch images (like Default-568h#2x.png) for your app? This will signal iOS to stretch the app to the full display. Apps without will be displayed with black borders at the top and bottom.
Also see this question + answer on how to fix this:
Undo auto resizing for iPhone 5 screen after adding Default-568h#2x.png