iphone-6

Why does iPhone 6 use @2x image assets?

泄露秘密 提交于 2019-12-02 17:34:27
iPhone 6 plus uses @3x image assets, but iPhone 6 uses @2x image assets - just like iPhone 4 and iPhone 5 ( Image resolution for new iPhone 6 and 6+, @3x support added? ). iPhone 5 , iPhone 5C and iPhone 5S have the screen resolution 640x1136 . The screen resolution of iPhone 6 is 750x1334 . So iPhone 6 will scale up images from 640x1136 ? Is there any way to make graphics customised for iPhone 6 's slightly higher screen resolution? Edit: I know that the PPI is the same. But say for example I want to have an image take up all available width on both iPhone 5 and iPhone 6. I create a 640x200

NSRangeException on iOS 8

匆匆过客 提交于 2019-12-02 11:07:52
问题 I upgraded XCode 5 to 6 to test my projects out on the iPhone 6 and 6 Plus and was getting cryptic crashes on startup: '*** -[__NSArrayM objectAtIndex:]: index 4 beyond bounds [0 .. 3]' *** First throw call stack: ( 0 CoreFoundation 0x000000010569b3f5 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x0000000104b20bb7 objc_exception_throw + 45 2 CoreFoundation 0x00000001055864d3 -[__NSArrayM objectAtIndex:] + 227 3 UIKit 0x00000001028164e1 _UIViewTopDownSubtreeTraversal + 193 4 UIKit

iPhone 6 a different storyboard?

六眼飞鱼酱① 提交于 2019-12-02 07:44:58
问题 When we had the iPhone 4 and 5 , we checked the screen size, and made 2 storyboards for each iPhone. //iPhone 4 if (height == 480) { storyboard = [UIStoryboard storyboardWithName:@"StoryboardiPhone" bundle:nil]; NSLog(@"Device has a 3.5inch Display."); } //iPhone 5 else if (height == 568) { storyboard = [UIStoryboard storyboardWithName:@"StoryboardiPhone5" bundle:nil]; NSLog(@"Device has a 4inch Display."); } //iPads else { storyboard = [UIStoryboard storyboardWithName:@"Storyboard" bundle

iPhone 6 a different storyboard?

佐手、 提交于 2019-12-02 04:01:52
When we had the iPhone 4 and 5 , we checked the screen size, and made 2 storyboards for each iPhone. //iPhone 4 if (height == 480) { storyboard = [UIStoryboard storyboardWithName:@"StoryboardiPhone" bundle:nil]; NSLog(@"Device has a 3.5inch Display."); } //iPhone 5 else if (height == 568) { storyboard = [UIStoryboard storyboardWithName:@"StoryboardiPhone5" bundle:nil]; NSLog(@"Device has a 4inch Display."); } //iPads else { storyboard = [UIStoryboard storyboardWithName:@"Storyboard" bundle:nil]; NSLog(@"Device has a iPad Display "); } Now there are 2 more iPhones, the question is, is it right

NSRangeException on iOS 8

别说谁变了你拦得住时间么 提交于 2019-12-02 03:41:12
I upgraded XCode 5 to 6 to test my projects out on the iPhone 6 and 6 Plus and was getting cryptic crashes on startup: '*** -[__NSArrayM objectAtIndex:]: index 4 beyond bounds [0 .. 3]' *** First throw call stack: ( 0 CoreFoundation 0x000000010569b3f5 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x0000000104b20bb7 objc_exception_throw + 45 2 CoreFoundation 0x00000001055864d3 -[__NSArrayM objectAtIndex:] + 227 3 UIKit 0x00000001028164e1 _UIViewTopDownSubtreeTraversal + 193 4 UIKit 0x0000000102e43286 -[UIView(UIConstraintBasedLayout_EngineDelegate)

Why status bar font size changes on iphone 6?

给你一囗甜甜゛ 提交于 2019-12-02 02:01:28
问题 I was reported that my application changes the font of the status bar on iphone 6. I tested on the emulator and I was able to recreate this problem as you can see on this video: http://screencast.com/t/KxVmMRC7 The application on the video is just an empty test so this seems to be happening by default. This happens only on iphone 6, never saw it on any other device. I wonder if anyone is familiar with this behavior. 回答1: Basically your app enters to a scaled mode when you don't have the app's

Why status bar font size changes on iphone 6?

穿精又带淫゛_ 提交于 2019-12-02 01:37:09
I was reported that my application changes the font of the status bar on iphone 6. I tested on the emulator and I was able to recreate this problem as you can see on this video: http://screencast.com/t/KxVmMRC7 The application on the video is just an empty test so this seems to be happening by default. This happens only on iphone 6, never saw it on any other device. I wonder if anyone is familiar with this behavior. Vig Basically your app enters to a scaled mode when you don't have the app's launch image for iPhone 6 and 6 Plus. Take a look at this question on how to set the launch images

iPhone6 (no display zoom mode) UIMenuController truncated

大兔子大兔子 提交于 2019-12-01 20:49:37
I have a problem with the UIMenuController on my iPhone 6 when I use the standard display mode and device is in landscape mode. On iPhone 6 Plus the problem is in both modes. Maybe it's depends on screen resolution. In that case, the UIMenuController will be truncated left and/or right. It seems that the UIMenuController can have maximum bounds as if the phone is in portrait mode. See UIMenuController truncated (iPhone6 landscape schematic): http://imageshack.com/a/img631/8470/ozlaGe.jpg "iPhone6 landscape" For me it seems like an iOS8+iPhone 6 bug. The code didn't change for a long time and

Can i still publish iOS apps without iPhone 6 launch images (apps that run in scale mode only)?

杀马特。学长 韩版系。学妹 提交于 2019-12-01 18:21:34
问题 Is the Apple AppStore still accepting apps that only run in scale mode in the new iPhone 6? Or do I need to adjust my whole app to be able to publish a new update? 回答1: Yes you can still submit apps as you normally would without adjusting your app for the newer screen sizes. It will auto scale for the iPhone 6 and iPhone 6 Plus (similarly to how the iPad scaling works for iPhone apps, but better). You should still test your app against these targets in Xcode 6 though. I've already found one

Can i still publish iOS apps without iPhone 6 launch images (apps that run in scale mode only)?

徘徊边缘 提交于 2019-12-01 18:04:48
Is the Apple AppStore still accepting apps that only run in scale mode in the new iPhone 6? Or do I need to adjust my whole app to be able to publish a new update? Yes you can still submit apps as you normally would without adjusting your app for the newer screen sizes. It will auto scale for the iPhone 6 and iPhone 6 Plus (similarly to how the iPad scaling works for iPhone apps, but better). You should still test your app against these targets in Xcode 6 though. I've already found one scaling issue using GLKViews on the iPhone 6 Plus only. The contentScale factor is increased to 3 instead of