This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to develop or migrate apps for iPhone 5 screen resolution?
I have an app which was targeted for iPhone 3/3G and iPhone 4(retina) basically (using iOS SDK 5.0). Now i want to port it to iPhone 5. I have Xcode 4.5.1 installed on my machine. Most of the UI implementation is done programatically without using any Xib file.
At this stage i don't understand what to do and from where to start :(
Please help me to get an way...thanks in advance :)
I am pretty new in iOS...
You could try: the xib>File inspector>Use auto layout.
Try it on the simulator of iPhone 5.
Also your code might have some errors/warnings like these:
A Lot of Functions are deprecated - iOs 6
You should fixe that, and then if it all works you're done
As you are generatig the UI elements programatically, you might also want to try writing conditional statements for iPhone 5 screen.
if ([[UIScreen mainScreen] bounds].size.height == 568) {
//code for generate UI elements for iPhone 5 screen.
}
Related
This question already has answers here:
Why IE 11 display blank page rendering react app
(8 answers)
Closed 3 years ago.
I have created a webstie using Reactjs.
All things run as well, today I had meet to show my webstie.
The person that I met him, has a microsoft explorer 11.
The site is running perfect on chroome
We tried to run my website on it, we got a blank page, we got just the logo on tap window.
Please if there any one can help me to fix this problem and what is the code I have to add to my app.
my website is: https://944.dk
Many features of modern javascript are not supported in Internet Explorer,
I can see in the IE console that it's crashing when trying to use Object.assign
Which is not available in IE.
It's common practice to compile your web app with something like Babel, which can be used to manage compatibility issues with different browsers.
IDE: Eclipse
Desktop OS: Mac
Device : Android 4.0.4
Hi,
last week i sent a new android build to the server, and it updated the jar files i have on my Mac, then i installed the app on LG android 4.0.4 device that i tested before, and was surprised to find some pages display all black.
After investigating a little, i discovered that when i use tabs on any form the form will be displayed black only on android, no problem on simulator nor IOS iPhone 6S.
I looked at the forum and i found similar problem happened a year ago , and the solution was to use "android.asyncPaint=false" temporarily . now this removed the black, but messed all the rendering while navigating between tabs.
So my question is why this happened now? the past three months i was developing and deploying on android without any problem. Did the newest update corrupt something?
Thanks
Sam
Using the android.asyncPaint flag is discouraged as it will fallback into a relatively slow compatibility mode. We are currently investigating some regressions in some rendering optimizations that affect some devices and are in the process of deploying a solution for that.
Please let us know if the issues persist.
At some point I seem to have a lost the ability to go to native iPhone look in the codenameone emulator. How can I get it back to normal?
I did have two themes in the theme.res file - I've tried deleting them both and creating a new native one called "Theme". I've also commented out all my initialization code in the before call for the Form, but it still looks like this:
Codename One migrated to iOS 7 as required by Apple: http://www.codenameone.com/3/post/2014/01/switching-defaults.html http://www.codenameone.com/3/post/2013/10/seven.html
To use the old simulator for the old theme just select Skins->More and select the old iOS 6 skin. You probably shouldn't though since you need to migrate to iOS 7 which most devices have already migrated to.
I was building an app in xcode 4.6 (ios6.1) and everything was fine.
I ran the same code through xcode 5 (ios 7) on an ios7 device and simulator, and I ran into the full screen (status bar included) issue, horizontal scrollview issues, modal viewcontroller issues, et al.
I’m using a navigation controller with the bar turned off. Instead I’m using a custom view to pass for a bar. So the extendedEdge thing isn’t working as well.
I understand that eventually, I’ll have to update my design and implementation accordingly.
Now here’s the dilemma – I ran the app (backed up original code) from xcode 4.6 (ios6) on an ios 7 device, and it’s working absolutely fine. It’s leaving it’s gap for the status bar, and there are no issues at all.
What I can’t understand now is how to proceed?
Will the app be accepted if I continue working on xcode 4.6 with ios6 (since it’s almost finished)?
I’m not able to move to xcode 5, since it has only the latest ios7 as the Base SDK.
I can’t find a legitimate way to add ios 6 sdk to xcode 5 (except copying the 6.1 SDK to the xcode5 package).
And, if I hadn’t downloaded xcode 5 DP (which installs it separately), the mac app store would have updated my xcode 4.6 to xcode 5
Apple still accept applications submit through Xcode 4.6
But consider that you would loose some new functionality like having different icons to each OS version etc.
Moreover, your app won't use the 64-bit processor (it is still compatible but if your app is a game or something like that it is recommended to use it).
I assume that in few months you won't be able to submit apps using the old Xcode.
UPDATE:
For you to be able to use status bar as before (like hidden), in your apps plist file add a row call it "View controller-based status bar appearance" and set it to NO
Just to update people who might be looking for an answer to this -
Apple will only accept apps and updates made with Xcode 5 on iOS 7, effective 1st Feb 2014.
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?