Questions tagged [iphone-5]

The iPhone 5 is the sixth version of the iPhone released by Apple, Inc. Use this tag for questions specific to this platform.

The iPhone 5 is the sixth version of the iPhone released by Apple, Inc. Use this tag for questions specific to this platform.

Resource

623 questions
498
votes
30 answers

How to develop or migrate apps for iPhone 5 screen resolution?

The new iPhone 5 display has a new aspect ratio and a new resolution (640 x 1136 pixels). What is required to develop new or transition already existing applications to the new screen size? What should we keep in mind to make applications…
Lukasz
  • 19,014
  • 15
  • 77
  • 136
264
votes
8 answers

iOS 6 apps - how to deal with iPhone 5 screen size?

Possible Duplicate: How to develop or migrate apps for iPhone 5 screen resolution? I was just wondering with how should we deal with the iPhone 5 bigger screen size. As it has more pixels in height, things like GCRectMake that use coordinates…
jturolla
  • 5,837
  • 6
  • 24
  • 40
132
votes
11 answers

iPhone 5 CSS media query

The iPhone 5 has a longer screen and it's not catching my website's mobile view. What are the new responsive design queries for the iPhone 5 and can I combine with existing iPhone queries? My current media query is this: @media only screen and…
Maverick
  • 2,981
  • 5
  • 23
  • 34
80
votes
5 answers

Set rootViewController of UINavigationController by method other than initWithRootViewController

How Do I set the rootViewController of UINavigationController by a method other than initWithRootViewController? I want use initWithNavigationBarClass:toolbarClass: to deliver a custom toolbar for my NavigationController, so I don't think I can use…
drc
  • 1,795
  • 3
  • 20
  • 26
60
votes
5 answers

Black bars showing when running app on iOS 7 (4 inch retina display)

We have an iPod app built with base SDK as 5.1. App has a tabBarController with three tabs and each tab has a UIViewController to load a different view. The app works fine for iOS 6.1 and iOS 7 (3.5 inch display) simulator and device but when we run…
User0911
  • 1,438
  • 2
  • 17
  • 30
49
votes
5 answers

Creating a percentage based iOS layout

I'm trying to replicate a layout that I currently have in an Android application, but I don't know how to go about it in iOS especially because of the tallness of the iPhone 5. I know how to explain this in "Android" terms but I've been trying for…
EGHDK
  • 16,593
  • 41
  • 119
  • 199
45
votes
5 answers

Black bars appear in app when targeting iOS7.1 or 7.0 in Xcode6

Steps to reproduce: Create a new project using Xcode6 (single view template, iPhone only, Objective-C) Navigate to project settings and change the deployment target from 8.0 to 7.1 Run the application on a iPhone5/S with 7.1 installed or in the…
Kris Gellci
  • 8,943
  • 5
  • 35
  • 47
29
votes
17 answers

XCode 4.5 (4G182) + iPhone 5 iOS6 - Choose a destination with a supported architecture in order to run on this device

So I have a brand new app I created last night for iOS6, using XCode 4.5. I can properly develop on my iPhone 4 with iOS6. Today I got my new iPhone 5 with iOS6 and, after updating the certificates with the new device UUID, I tried to run my app on…
Eneko Alonso
  • 16,651
  • 6
  • 54
  • 76
28
votes
3 answers

How to add iPhone 5 large screen support to iOS apps in Xcode?

Possible Duplicate: How to deal with iPhone 5 screen size? How can I add support for 4-inch iPhone 5 displays to an iOS app in Xcode? Is this even possible with the latest public Xcode release, v4.4.1?
Anton
  • 5,521
  • 5
  • 31
  • 51
27
votes
2 answers

How to switch to different Storyboard for iPhone 5?

Just as an app utilizes different storyboards for iPad and iPhone, I would like my app to use a different storyboard for the iPhone 5. Since there is no option in the Info.plist to select default storyboard for iPhone 5, how would I…
user1486548
  • 1,151
  • 4
  • 14
  • 22
26
votes
1 answer

How can I set the iPhone 5 in simulator in the new XCode 4.5 GM?

I'm having some troubles with running/testing my App for the new iPhone. When running simulator with this newer version of XCode the iPhone 4" is not visible (anymore) under hardware->device. Did I disabled it or is my XCode broken…
BarryK88
  • 1,786
  • 2
  • 24
  • 41
25
votes
4 answers

Xcode Storyboard displaying the new iPhone 5 screen size?

I have the latest version of Xcode. In one of my projects I noticed that the views for the iPhone were the new iPhone 5 screen sizes. I like it but is there a way to switch back to the smaller screen size? Not everyone has the iPhone 5.
flyers
  • 524
  • 2
  • 5
  • 15
25
votes
5 answers

iPhone 5 (4") bottom toolbar not responding

I'm trying to modify an app to work with the new iPhone 5, 4" screen. I've added the new launch image, "Default-568h@2x.png". After that everything seemed good. Middle portion of my views is resizing ok. However I've noticed that in a view where I…
David
  • 2,585
  • 5
  • 32
  • 43
23
votes
2 answers

Black bars on launch screen on iPhone5 (and iPhone6)

When iPhone 5 first came out we had to go through the silliness of adding a Default-568h@2x.png to the project to get the app to use the full height of the iPhone 5. In late 2014 are we still doing that? We have asset catalogs and the…
soleil
  • 11,239
  • 29
  • 102
  • 172
22
votes
9 answers

What's the device code (platform string) for iPhone 5 / 5c / 5s / iPod touch 5?

For example, is it "iPhone5,1" or "iPhone5,2" for iPhone 5? And what's the difference? If anyone has the iPhone 5, please help by running the following code and showing your result. Thank you. Related Link:…
northtree
  • 6,212
  • 9
  • 45
  • 66
1
2 3
41 42