iphone-6

How to display iOS app on iPhone 6 without zoomed mode

跟風遠走 提交于 2021-02-04 12:24:08
问题 This might be a vague question, so let me know if you need screenshots. I just got an iPhone 6 and I have it setup on "standard" zoom mode. This makes all text, icons and Apple apps display "small" as intended on the phone. However, all other apps (including my iOS 8 optimized apps and big name apps like Facebook and Twitter) display in "zoomed in" mode. It's very odd and distracting as everything on the phone changes to zoomed in, including the clock, battery level, cell phone signal..

IOS 8 asset catalog image sizes confusing

半世苍凉 提交于 2020-01-03 04:54:07
问题 Say I want to make a button that takes up half the width of the iPhone screen (portrait) at @1x. This would be 160 pixels, @2x this would be 320 pixels. Now with iPhone 6 and iPhone 6 plus it gets confusing. The iPhone 6 has 750 pixels width and uses @2x but the asset catalog has only one box for adding @2x images, so do I make my image 320 pixels or 375 pixels? Also, the iPhone 6 Plus has width of 1080 pixels or 1242 pixels (any idea which one?), but my standard image of 160 pixels

snapshotViewAfterScreenUpdates glitch on iOS 8

那年仲夏 提交于 2019-12-31 09:21:30
问题 I've noticed running this would cause view (or main window, not sure) to resize for a moment, when running on iPhone 6/6+ simulator scaled from iPhone 5 layout (without passing launch image for iPhone 6/6+): [self.view snapshotViewAfterScreenUpdates:YES]; Any idea how to make it work when you can't pass 'NO' there? Update (Jul 13th): Does not seem to reproduce on iOS 8.4 anymore. 回答1: Since it seemed like an Apple/API problem, I just decided to not use that method when I need to pass a "YES."

snapshotViewAfterScreenUpdates glitch on iOS 8

99封情书 提交于 2019-12-31 09:21:22
问题 I've noticed running this would cause view (or main window, not sure) to resize for a moment, when running on iPhone 6/6+ simulator scaled from iPhone 5 layout (without passing launch image for iPhone 6/6+): [self.view snapshotViewAfterScreenUpdates:YES]; Any idea how to make it work when you can't pass 'NO' there? Update (Jul 13th): Does not seem to reproduce on iOS 8.4 anymore. 回答1: Since it seemed like an Apple/API problem, I just decided to not use that method when I need to pass a "YES."

iPhone6 (no display zoom mode) UIMenuController truncated

只愿长相守 提交于 2019-12-31 00:34:09
问题 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

How to detect iPhone 6 & 6 Plus View Mode Programmatically [duplicate]

一笑奈何 提交于 2019-12-30 06:04:33
问题 This question already has answers here : How can I detect whether a user has an iPhone 6 Plus in standard or zoomed mode? (5 answers) Closed 3 years ago . Is there any way to identify View Mode( In setting > Display & Brightness ) programmatically ? Many apps design are behaving differently in Standard Mode and Zoomed Mode. Please refer image : Any Help would be appreciated. :) 回答1: You can use either [UIScreen mainScreen].nativeScale witch will gives you 2.6f if normal, and 2.8f if zoomed on

How to detect iPhone 6 & 6 Plus View Mode Programmatically [duplicate]

放肆的年华 提交于 2019-12-30 06:03:25
问题 This question already has answers here : How can I detect whether a user has an iPhone 6 Plus in standard or zoomed mode? (5 answers) Closed 3 years ago . Is there any way to identify View Mode( In setting > Display & Brightness ) programmatically ? Many apps design are behaving differently in Standard Mode and Zoomed Mode. Please refer image : Any Help would be appreciated. :) 回答1: You can use either [UIScreen mainScreen].nativeScale witch will gives you 2.6f if normal, and 2.8f if zoomed on

Status Bar showing black text, only on iPhone 6 iOS 8 simulator

别说谁变了你拦得住时间么 提交于 2019-12-28 08:09:33
问题 I'm trying to convert my iOS 7 app to iOS 8 in Xcode 6 GM, and when i run it on the iPhone 5s or lower simulators with iOS 8 everything is fine, but on the iPhone 6 and 6 Plus simulators, the Status Bar has black text instead of white like it is everywhere anytime else. I've set the Info.plist UIStatusBarStyle to "Transparent Black Style (alpha of 0.5)" thru Xcode, and that seems to have the desired effect everywhere else. Any ideas what is going on? (I haven't touched any of the storyboards

No Retina 4 option in xcode 7 then how do I set fullscreen images in asset to make them show correctly in 4s/5s & iPhone 6?

放肆的年华 提交于 2019-12-24 12:26:07
问题 In xcode 7 these is no retina 4 option, according to this, apple removed it on purpose. I did edit Contents.json to get it back but the effect is not the same! I remember in XCode6/pre-iOS9 iPhone 6 will used retina 4 picture so I only need to set one fullscreen 2x picture for iPhone 4/4s, one fullscreen Retina 4 for iPhone 5/5s and 6. I think using Retina4 for iPhone 6 really makes sense while 2x doesn't! Because 1334/750 is about 1.778, which is close to 1136/640 = 1.775 while 960/640 = 1.5

Reduce ios keyboard height

不羁的心 提交于 2019-12-24 10:47:44
问题 How can I reduce the height of keyboard in iOS? I couldn't find any api that I can use to achieve this objective. My client noticed that Facebook messenger and builtin iMessage app on iPhone 6 has a keyboard which is a little bit small in height than keyboard in my app. Is it because they are using custom keyboard or there is a way in iPhone 6 to reduce the height? I am posting screenshots below from both apps so that you can compare them. This is from Facebook messenger app. http://postimg