iphone-6

Xcode asset catalog support for 3.5“, 4”, and 4.7" @2x images?

烂漫一生 提交于 2019-12-12 22:30:35
问题 Xcode offers asset buckets for 1x, 2x, 4" 2x, and 3x assets. My fullscreen assets are all wonky with this configuration, because the 2x bucket is used for 3.5" and 4.7" screens. Currently I have a UIImage category that introspects the current screen size, and selects a "*-3.5" asset if the device seems to be 3.5". This is clunky and not cool. Seeing that Xcode caters to all the different device sizes for their LaunchImage asset, I was hoping there was some way to supply device specific assets

ITC.apps.validation.screenshot itunes connect iPhone 6 screenshot is required

∥☆過路亽.° 提交于 2019-12-11 03:43:53
问题 I have uploaded my app build to itunes connect from Xcode 5.1.1... I currently do not support iPhone 6. When I submit to review I get an error that I have to upload iPhone 6 sreenshots first. ITC.apps.validation.screenshot_5.5-Inch_missing ITC.apps.validation.screenshot_4.7-Inch_missing Is there anyway I could just bypass iPhone 6 screenshots where as my app doesn't support iPhone 6 yet ? 回答1: My App was accepted with Photoshop Scaled 4-inch Screens. However, for now apple stopped requiring

iPhone 6 simulator, hide keyboard issue

独自空忆成欢 提交于 2019-12-10 13:36:56
问题 Does the iPhone 6 have some new way (off-screen/hard button) to reopen a hidden soft keyboard? I don't have a physical device to test with, but I'm seeing something new in the iPhone 6 simulator that I don't see in iPad or iPhone 5. The iPhone 6, in landscape view, now has a "hide keyboard" button, like only iPad has had before. Here are the different behaviors I'm seeing, and I'm hoping it is not a new issue I need to design my apps around. Initial steps are the same in iPad and iPhone 6

Set background image and icon image in iPhone 6 and 6 plus

佐手、 提交于 2019-12-10 03:00:57
问题 How can I differentiate the background images and icon images between the different resolutions for the iPhone 5 and for the iPhone 6 and 6 Plus? 回答1: You have to turn on iOS 8 sizes in your image catalogs. They're off by default in existing projects: 来源: https://stackoverflow.com/questions/25752750/set-background-image-and-icon-image-in-iphone-6-and-6-plus

iOS 8: UINavigationController hide back button

走远了吗. 提交于 2019-12-09 07:57:01
问题 After I run my application in iOS 8 (XCode 6.0.1, iPhone 6), the back button does not hide. My code: - (void)removeCategoriesButton { if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) { [_navigationController.topViewController.navigationItem setHidesBackButton:YES]; [_navigationController.topViewController.navigationItem setLeftBarButtonItem:nil]; } else { UIViewController *controller = _app.window.rootViewController; if ([controller isKindOfClass:[UINavigationController class]]) {

Error creating LLDB target at path, Xcode 6 GM seed

陌路散爱 提交于 2019-12-07 06:27:04
问题 I'm getting this error whenever I build in Xcode 6 GM Seed. It seems to be making my app insanely slow. What exactly does this mean and how do I fix it? I had the following error: Warning: Error creating LLDB target at path '.....'- using an empty LLDB target which can cause slow memory reads from remote devices. PS : im not able to run my app, its stuck on the splash screen 回答1: There is a thread in the Apple Developer Forum, https://devforums.apple.com/message/1010068#1010068 that describes

Enable iphone 6 resolution not enabling iphone 6 plus

不羁岁月 提交于 2019-12-07 04:24:55
问题 I am trying to support iPhone 6 resolution without supporting iphone 6 plus yet. What I tried already is to add launch image for iphone 6 - Image.xcassets called Retina HD 4.7. Unfortunatelly simulator for 6 plus is reporting 2208x1242 screen size (already multiplied by 3). So 6 plus is supported with just 6 launch image. I am wondering if its just a simulator bug or the same behavior is on actual iphone 6 plus device - I do not have access to such device yet. Funny thing: when I added just

iOS 9 Ionic Cordova App Crashes on iPhone; works on iPad

▼魔方 西西 提交于 2019-12-07 02:48:03
问题 Cordova v5.3.1 / Ionic v1.1.0 (library v1.6.4) Upgraded our application to iOS 9 from 8.4. The application builds and runs fine on iPad/iPad mini. However, it crashes when deployed to an iPhone. Below is the debug output: 2015-09-23 11:17:09.920 AnApplicaiton[6490:1359695] *** Assertion failure in -[UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3505.16/UIApplication.m:1697 2015-09-23 11:17:09.926 AnApplication

CUICatalog: Can't find rendition for name: someimage@2x~ipad.png scale factor: 2 device idiom: 1 device subtype: 568

萝らか妹 提交于 2019-12-07 00:03:57
问题 I created app that perfectly worked on xcode 5. But when i run it on xcode 6 with iphone 6 simulator, it's giving me an error: CUICatalog: Can't find rendition for name: someImage@2x~ipad.png scale factor: 2 device idiom: 1 device subtype: 568 回答1: I know this probably isn't the answer you want, but I had the exact same problem, and simply renaming the image fixed the problem. In other words, I copied the original file that wouldn't load to another file in the same directory, with a different

How to get magnetometer data using swift?

谁说胖子不能爱 提交于 2019-12-06 05:54:29
问题 I am trying to get the magnetic field data from my iphone 6 by using CoreMotion. I had no problems accessing the raw data with the following code: if available { motionMangager.magnetometerUpdateInterval = updateInterval motionMangager.startMagnetometerUpdatesToQueue(queue, withHandler: { (data, error: NSError!) -> Void in println("x: \(data.magneticField.x), y: \(data.magneticField.y), z: \(data.magneticField.z)") }) } BUT: I need the derived data by using an device motion instance. So I did