iphone-6-plus

Why splitViewController:collapseSecondaryViewController:ontoPrimaryViewController: is not called on iPhone 6 Plus?

落花浮王杯 提交于 2019-12-07 03:59:45
问题 I implemented subclass of UISplitViewController in my app for both: iPhone and iPad . Method mentioned in title is called when I rotate device from Landscape to Portrait orientation. It works really nice unless I run the app on iPhone 6 Plus. Why this method is not called there? What to do to make this method work? When I start the app on iPhone 6 Plus everything is fine in both orientations. But the problem is when I rotate iPhone 6 Plus from Landscape to Portrait . My navigation controller

UI doesn't fill in iPhone 6 plus

倾然丶 夕夏残阳落幕 提交于 2019-12-06 03:43:57
I'm working on an iOS app and realize the ui is not auto stretch to fit the screen when it's running in iPhone 6 plus. So the UI is on the right left, and there are a lot of white space in the bottom and right. If I set the width of a view to beyond 320 (ex. 400), then the view be wider than 320. How could I make my views auto stretch to fill the screen? I have a few other apps, and they works perfectly fine in iPhone 6 plus. I couldn't figure out what make this app's ui not auto stretching. The only difference I could think of it this one is create after the official xcode 6 is released, the

ARKit Demo Crashing on iPhone 6/iPhone 6 Plus

醉酒当歌 提交于 2019-12-05 23:41:14
问题 I'm working with ARKit Feature , with recent major iOS release, but I'm getting a crash with error failed assertion MTLRenderPassDescriptor: MTLStoreActionMultisampleResolve store action for the depth attachment is not supported by device I already have iOS11 beta, installed in my iPhone device. 回答1: As all answers above this is a hardware constraint to A9 chips. Anyway it is a good practice to addAdding ARKit to UIRequiredDeviceCapabilities on Info.plist will give you a better feedback

Why splitViewController:collapseSecondaryViewController:ontoPrimaryViewController: is not called on iPhone 6 Plus?

白昼怎懂夜的黑 提交于 2019-12-05 06:37:35
I implemented subclass of UISplitViewController in my app for both: iPhone and iPad . Method mentioned in title is called when I rotate device from Landscape to Portrait orientation. It works really nice unless I run the app on iPhone 6 Plus. Why this method is not called there? What to do to make this method work? When I start the app on iPhone 6 Plus everything is fine in both orientations. But the problem is when I rotate iPhone 6 Plus from Landscape to Portrait . My navigation controller is not gonna work as it is expected. This is what I mean: iPhone 5s Portrait iPhone 5s Portrait when I

How is Apple showing more in the Messages app in portrait on the iPhone 6 Plus?

回眸只為那壹抹淺笑 提交于 2019-12-05 02:07:48
问题 With the new iPhone 6 Plus, in landscape the phone can show more content than the normal iPhone 6 or its predecessors. This makes sense, as in landscape the phone identifies as having a "regular width" for its size class. However, in portrait its' still compact width, regular height for the size class, regardless of which iPhone. How is Apple then showing more on the iPhone 6 Plus in portrait when there's no size class identifying it? Are they hard-coding it based on the device's width? Doesn

App thinning without @3x images and when some images are JPGs

…衆ロ難τιáo~ 提交于 2019-12-04 09:22:19
For an upcoming update to one of my apps I have packed all the image resources into Asset Catalogs. However, at the moment I do not have @3x version for most of my images. I have checked with the simulator and on iPhone 6 Plus @2x versions are used. I don't mind this behaviour for two reasons: The result is good enough for images which I am using Only 50% of my users are using iOS 9. If I add @3x images the size of my app will skyrocket for those on older OS Although images load correctly in the Simulator for iPhone 6 plus, I am a bit worried about what happens when I archive my app. In

iOS 8 AutoLayout scrollview scrolls horizontally on iPhone 6 plus

陌路散爱 提交于 2019-12-04 08:34:05
I do have an App for iOS and while adapting all the UI to auto layout an size classes to support the new iPhone 6 and iPhone 6 plus i faced a weird issue... al my scrolls view work fine in iPhone 4s, 5, 5s and 6... in iPhone 6 plus they are not scrolling only vertically but also horizontally... like if the content size of the scroll view where a couple of pixel wider than the view itself (so it move horizontally of a couple of pixel and then it bounce). I do not understand why is this happening... I finally found a proper way to let it work... I did it this way: View hierarchy: - UIView (Main

How to fix blurred text on an iPhone 6 (+)

对着背影说爱祢 提交于 2019-12-04 01:44:35
问题 We use a custom font face and custom font sizes in our application. When running the application on an iPhone 6 (haven't tried 6+ yet but I assume it's the same) all fonts look blurry. We also have an internal tool that uses the system font and it looks blurry as well. Why is that and what is the right approach to get them to render as crisp as they do on an iPhone 5? 回答1: Perhaps your labels or drawing points aren't on an exact pixel, but instead on a fractional pixel. To prevent such

How is Apple showing more in the Messages app in portrait on the iPhone 6 Plus?

北战南征 提交于 2019-12-03 20:21:01
With the new iPhone 6 Plus, in landscape the phone can show more content than the normal iPhone 6 or its predecessors. This makes sense, as in landscape the phone identifies as having a "regular width" for its size class. However, in portrait its' still compact width, regular height for the size class, regardless of which iPhone. How is Apple then showing more on the iPhone 6 Plus in portrait when there's no size class identifying it? Are they hard-coding it based on the device's width? Doesn't that go against the whole philosophy of size classes? Rog They are using auto layout to force their

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