I'm creating a map app, where I want to set the user's location at the bottom center. For this purpose, I made my map double in height and width to set user location at desired location(I might have followed the wrong process for this, suggestions would be welcome).
Please see attached screen shots for iOS 6 and iOS 7 for change in location:
iOS 6
iOS 7
I want to make user location like it is in iOS 6.
Related
This question already has answers here:
How to develop or migrate apps for iPhone 5 screen resolution?
(30 answers)
Closed 9 years ago.
Today I tried uploading an update for an older iPhone app to the app store but was denied because it did not support the new iPhone 5 screen size. Do I have to rebuild the whole app to show on the 4 inch display or can I just compile it with the older 3.5 inch screens and it will do what other older apps do with centering it with black bars on top and bottom.
You do have to rebuild the app, with a launch image sized for a 5 inch screen. That is what tells the system that the app runs on a 5 inch screen.
(You can not do what older apps do and show with the black bars. Your app was doing that already. But now you are submitting an update, and it is forbidden to do that without running at full size on the iPhone 5.)
Now, when your app launches on a 5 inch screen, it might not look very good without some good autoresizing or autolayout. But that's another issue. You will be able to tell that pretty quickly just by looking (in the iPhone 5 Simulator).
This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
PhoneGap and iPhone 5: Remove top and bottom black stripes
Please enlighten me on this.
When i run my ios5 app on ios6 retina 4 inch simulator i can see a black screen at the top and bottom of the simulator. please help me in resolving this issue..
You must include a default splash screen image for iPhone 5. This acts as a flag, tells the device that your app is set up for the 4 inch display.
name of image must be: Default-568h#2x.png
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to develop or migrate apps for iPhone 5 screen resolution?
How to deal with iPhone 5 screen size?
With 5th generation devices in the market having bigger screen, we need to have a bigger launch image (image that is shown when app icon is tapped). How would app make the difference like when to use the normal image and when to use the bigger image based on the device type?
I see a warning in my project when I build it for iPhone 6.0 simulator tap on which throws the below alert:
You need to add a launch image named Default-568h#2x.png. The compiler checks for this image and validates it. If the image is validated, your app is ready for iPhone 5 - otherwise not. Once you have the right image, follow the steps outlined in this post:
How to develop or migrate apps for iPhone 5 screen resolution?
If you are having issues with the images being used INSIDE the app, and you want to support iPhone 5 and pre-iPhone 5 devices, use this:
Dealing with different size images in a xib for iPhone5 versus iPhone4?
For short: If you want to support iPhone 5 screen you must supply launch screen for the 4" screen otherwise your app would run on 3.5" on the 4" screen.
If you put the 4" launch image that one would be used on iPhone 5 and the 3.5" one on iPhone 4 (could be different).
Please see my detailed explanation here.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to develop or migrate apps for iPhone 5 screen resolution?
I'm (still) trying to convert one of my iPhone applications to iPhone 5, but it still looks like this in the simulator...
What am i doing and why won't it fill up the entire screen?
Have you provided a 4" sized launch image? That's the indicator that tells the OS that your application supports the full screen.
Have you selected in your UIView attributes inspector in XCode iPhone 5 screen size?
Please have a look at the url,
iPhone 5 TabBar not functioning in proper position
Now, in xib, at the right side, under 'Interface Builder Document', put a tick-mark on use autolayout and fix your objects in xib accordinlgy.
Download and install Xcode 4.5 GM. Set a 4-inch launch image for
your app. This is how you get 1136px screen height (without it, you
will get 960px with black margins on top and bottom).
Test your app, and hopefully do nothing else, since everything should work magically if you had set auto resizing masks properly. If you didn't, adjust your view layouts with proper auto resizing masks or look into Auto Layout if you only want to support iOS 6 going forward.
Also note: The auto-rotation API has changed completely, take a look at that as well if your application supports any rotation other than default.
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?