at the moment i have developed an ios tab bar application the rotates perfectly on the iphone simulator(ios 6.1). The problem is that when i run the app on my real device (ios 4.3), the app works perfectly but it doesn't rotate.
Has anyone got any ideas? Is it possible to support rotation for all three o.s's: ios4, ios5 and ios6?
Prior to iOS 6 i.e in iOS 5 and earlier, an app and a view controller’s default supported interface orientations are set to UIInterfaceOrientationPortrait for iPhone idiom & UIInterfaceOrientationLandscape for iPad idiom while in iOS 6 and later this is UIInterfaceOrientationMaskAll for the iPad idiom and UIInterfaceOrientationMaskAllButUpsideDown for the iPhone idiom.
This might be the reason for your views not rotating in < iOS 6.0. Rotation process and responsible controllers are also different in the 2. Autorotation is clearly explained here in this post- Autorotation in iOS
Related
I'm stuck creating USDZ files. I've issues with older devices, basically anything older than the iPhone X, displaying items with artefacts resulting from normal maps and other issues whereby the item appears entirely black.
iPhone X and iPad on ios 12 and 12.1 betas run fine with no normal maps:
iPhone 7 iOS 12 non beta with no normal maps:
When I use normal maps I get the following issue on older devices:
You can download the raw files here: https://drive.google.com/drive/folders/13w4fFTr6EQSUyQeEryxQWp0FcPN-84Ci?usp=sharing
Any help is extremely appreciated <3
While developing app with codename one with Netbeans IDE, I was running into this issue where the simulators were not usable except iphone 3. If I choose the simulator to be iPhone 5 or 6 or 6 plus, the simulator is so huge and only part of it appears on the screen and I couldn't even scroll.
Is there anyway to make the simulator to fit within the window sizes? I tried on Mac and Windows and I experienced the same result.
Please advise.
Uncheck the Scrollable option under the Simulalator menu. It's on by default since some artifacts might appear during scaling but for large skins there is no alternative.
I'm working on a Universal app (my first app) that runs on both iOS 6 and 7 and I'm creating my launch images now.
I've read the Apple documentation on this area but I find I'm still confused.
For the moment, I'd like to work out how to create and link up all my launch images without using the Asset Catalog, if possible.
I've got most, but not all, of the launch images created and added into the Launch Images area of my project like so:
Portrait Non-Retina (iOS 6.1 and Prior) 768x1004 No image with correct dimensions found
Portrait Retina (iOS 6.1 and Prior) 1536x2008 No image with correct dimensions found
Landscape Non-Retina (iOS 6.1 and Prior) 1024x748 No image with correct dimensions found
Landscape Retina (iOS 6.1 and Prior) 2048x1496 No image with correct dimensions found
Portrait Non-Retina 768x1024 Default-Portrait
Portrait Retina 1536x2048 Default-Portrait#2x
Landscape Non-Retina 1024x768 Default-Landscape
Landscape Retina 2048x1536 Default-Landscape#2x
But I'm puzzled as to how to name the iPad image files that are still missing.
You will not be able to do what you are trying to do by naming alone. If you don't want to use the asset catalog (which totally solves the problem without effort, so why would you not use it????), you will have to set up the Info.plist yourself, as Apple explains here:
In iOS 7, an app can use a different launch image depending on which version of iOS it’s running in. To provide different launch images, add the UILaunchImages key to the Info.plist file and use a dictionary to describe each launch image. To learn more about handling launch images, see “App Launch (Default) Images” in iOS App Programming Guide.
I think you should find the naming conventions in the section called App Launch (Default) Images of Apples documentation for resources
I want to keep my IOS 6 design on a IOS7 device. I build with the IOS6 sdk but the interface is still with IOS7 controls on a IOS7 device.
How can I keep my IOS6 interface ?
Not recommended by apple, but develop your application with XCode prior to XCode 5, application's look and feel will remain same as iOS6 in iOS 7.
You can see both versions designs in interface builder.
i have a app built in Xcode 4.5 with 4 inch screen/View controllers i built this app just for iPhone 5 as i sent it off to iTunes connect. once it said upload received it showed "Missing Localized Screenshots" straight away.
how can i fix this i have 5 screenshots for iPhone 5 and thats it, but if i was to put screenshots for 3.5 inch screens the message goes and my app will wait for review but the one problem is when i run it on my iPod all the images/buttons are I'ver off the screen or in a different places please help.
are there any ways around this if so i really would appreciate it if you could let me known.
or do you have to develop a applications for both devices iPhone 5 and iPhone 4 now?
hope this all make sense and you guys understand what i mean thank you!
It isn't about the device, but the version of the OS. You can't target an app just at the iPhone 5. You can can target an app at iOS version 6 which includes 4 inch and 3.5 inch screens.
Edited to add
There are many resources about supporting multiple screen sizes in iOS6, one of which is, for example:
How to develop or migrate apps for iPhone 5 screen resolution?