Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 28, 2012, 10:21 AM   #1
Stangs55
macrumors 6502a
 
Stangs55's Avatar
 
Join Date: Jul 2007
Location: The Lone Star State
Preparing Code for iPhone 5

I apologize if this is addressed elsewhere, but I didn't find it on a search.

I also realize that this is technically pure speculation...but I'm curious what the consensus is on how current apps will adapt to the new "presumed" taller screen of the iPhone 5. By totally changing the vertical height of the screen, it seems that many apps (mine included) will need to make some significant coding changes to accommodate these new dimensions....I'm 99% sure that my current app would have some broken parts if it was all of a sudden supposed to run in new dimensions.

Given Apple's approach to secrecy, it's not surprising that developers have not been given time to prepare for the dimensions of the iPhone 5...but seeing how much time we get in preperation for new iOS releases, those seem like a cakewalk to prepare for in comparison. On top of this, we'll likely see one zillion apps submit an update within days of xcode being updated for iPhone 5....I can't imagine how long those will take to go through...

So how do you think the iPhone 5 will handle the resolution of current apps?

(again, I feel like this should be an issue that's been discussed quite a bit, but I can't find it anywhere here)
Stangs55 is offline   0 Reply With Quote
Old Aug 28, 2012, 10:28 AM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
I have no inside information but my best guess is that if you have hard-coded the size of your root UIWindow then there will be a black section at the bottom of the screen
robbieduncan is offline   0 Reply With Quote
Old Aug 28, 2012, 11:48 AM   #3
chown33
macrumors 603
 
Join Date: Aug 2009
http://www.macrumors.com/2012/08/07/...r-to-1136x640/

Google search terms where the above link appears in first page of results:
iphone resolution site:macrumors.com
iphone screen size site:macrumors.com


I haven't tried it. I have no idea how well it works. My point is that it was quite easy to find.
chown33 is offline   0 Reply With Quote
Old Aug 28, 2012, 01:23 PM   #4
Reason077
macrumors 65816
 
Join Date: Aug 2007
Quote:
Originally Posted by robbieduncan View Post
I have no inside information but my best guess is that if you have hard-coded the size of your root UIWindow then there will be a black section at the bottom of the screen
UIWindow adjusts its size automatically. As long as things like autosizing masks are set correctly on the subviews, then you should be good. The autosizing masks tell iOS how to adjust sizes and y positions of your subviews when the UIWindow changes.

If your windows resize properly with "Toggle in-call status bar" now then they should work ok at the new resolution too.

That said, I suspect Apple will put "black bars" around all old apps until they are explicitly updated to support the new resolution. There's probably an Info.plist flag or something you need to add to tell iOS to give you the bigger UIWindow.

Last edited by Reason077; Aug 28, 2012 at 01:30 PM.
Reason077 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone 5S - Preparing For Shipment iBreatheApple iPhone 8 Sep 21, 2013 12:32 PM
Preparing to sell iPhone 4 MacUser09 iPhone 3 Apr 27, 2013 09:40 AM
iPhone: Preparing my iPhone 5 for restore and had a question. jamesapp Jailbreaks and iOS Hacks 0 Jan 31, 2013 06:47 PM
With the iPhone 5 preparing to launch in most other countries.... tymaster50 iPhone 3 Oct 27, 2012 08:16 AM
Preparing for iPhone 5 ghsNick iPhone 2 Sep 6, 2012 12:38 PM

Forum Jump

All times are GMT -5. The time now is 07:40 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps