ios9

After updating Xcode to IOS 9, app stucks on splashscreen and initial viewcontroller is not loaded

浪尽此生 提交于 2019-12-18 07:02:12
问题 Using a storyboard in Xcode, I have an application that worked nicely, but after latest Xcode update (IOS 9), the app stucks on the splash screen. DidfinishLaunchingWithOptions is succesfully called and reaches the end of the function, but the initial viewcontroller is not being loaded. If I switch the initial view controller to another screen, it works fine.. How can it be that the initial view controller is not loaded for the one screen, and it does get loaded if I set it on the second

After updating Xcode to IOS 9, app stucks on splashscreen and initial viewcontroller is not loaded

会有一股神秘感。 提交于 2019-12-18 07:01:35
问题 Using a storyboard in Xcode, I have an application that worked nicely, but after latest Xcode update (IOS 9), the app stucks on the splash screen. DidfinishLaunchingWithOptions is succesfully called and reaches the end of the function, but the initial viewcontroller is not being loaded. If I switch the initial view controller to another screen, it works fine.. How can it be that the initial view controller is not loaded for the one screen, and it does get loaded if I set it on the second

Save the exif metadata using the new PHPhotoLibrary

泪湿孤枕 提交于 2019-12-18 06:55:03
问题 I am currently using AVCaptureStillImageOutput to get a full resolution picture. I am also able to get the exif metadata using the following code: [self.stillImageOutput captureStillImageAsynchronouslyFromConnection:videoConnection completionHandler: ^(CMSampleBufferRef imageSampleBuffer, NSError *error) { CFDictionaryRef metaDict = CMCopyDictionaryOfAttachments(NULL, imageSampleBuffer, kCMAttachmentMode_ShouldPropagate); CFMutableDictionaryRef mutableDict = CFDictionaryCreateMutableCopy(NULL

Raise exception on App Transport Security?

让人想犯罪 __ 提交于 2019-12-18 05:21:39
问题 Under iOS 9, I've used the accepted answer here: Transport security has blocked a cleartext HTTP I added the entries to my Info.plist file under NSAppTransportSecurity . My app seems to be functioning properly, as well as executing all of the requests for which I've accounted for. I am still receiving the error: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. My problem is

Xcode 7 iOS 9 UITableViewCell Separator Inset issue

老子叫甜甜 提交于 2019-12-17 23:00:25
问题 This is not a question, rather a solution to the problem I faced. In Xcode 7, when the application is run on iOS 9 on iPad devices, the UITableViewCell leaves some margin onto the left side of the UITableView . And rotating the device to the landscape would increase the margins. The solution I found is: Setting cellLayoutMarginsFollowReadableWidth to NO . self.tbl_Name.cellLayoutMarginsFollowReadableWidth = NO; This property is only available in iOS 9. So, you will have to put a condition to

Enterprise (in-house) Swift application quits on launch on iOS9

点点圈 提交于 2019-12-17 22:42:48
问题 We find that our Swift application signed by in house certificate cannot run on iOS9 while it works correctly on iOS8. We have trusted the developer on settings -> general -> profiles, but when we try to launch the app, it gets stuck on the launch screen and then quits. We don't have any clue from the logs. It only tells that it failed to launch after 20.00s. I suspect that is an issue related to the signing. Because when I sign the application with an AdHoc certificate, it has no problem in

Is the newly added 'My Card' that automatically shows up in IOS9 a reliable way to get a users phone number?

不羁的心 提交于 2019-12-17 21:17:57
问题 Am I correct that with a address book permission we should be able to pretty reliably get a users phone number if they have given address book permissions via the new "My Card" contact that seems to be automatically added to your addressbook when you download IOS9? I always wanted to do a find friends but i did not want to force users to type/verify their number....this seems to be a solid work around for ios9 users. 回答1: I am currently dealing with the same issue but unfortunately it seems

Safari web view opening when logging to FB through iOS 9

谁说胖子不能爱 提交于 2019-12-17 19:19:26
问题 I've followed this guide to update my application to use Facebook SDK 4.6 for iOS 9 SDK. When I tap the login button now, a Safari view controller gets presented, whereas it should redirect to the Facebook app(App is installed on iPhone). Is any additional handling required ? It was working fine on previous versions(v4.3.0). 回答1: From a product manager at Facebook in the "Facebook Developer Community" group. And my Reply, still waiting for a response: So it sounds like with SDK 4.6 they are

OSStatus error code -34018

风格不统一 提交于 2019-12-17 17:36:46
问题 I am using SecItemCopyMatching to access the iOS keychain. About 1 in a hundred times I get a -34018 result code right after relaunching the app from the background. The documentation states: The assigned error space for Keychain Services is discontinuous: –25240 through –25279 and –25290 through –25329. Keychain Item Services may also return noErr (0) or paramErr (–50), or CSSM result codes So it seems that -34018 is a 'CSSM result code'. I have followed the suggested link but could not find

What does the shrink-to-fit viewport meta attribute do?

六眼飞鱼酱① 提交于 2019-12-17 17:21:17
问题 I'm having trouble finding documentation for this. Is it Safari specific? There was a recent bug in iOS 9 (here), the solution to which is adding shrink-to-fit=no to the viewport meta. What does this code do? 回答1: It is Safari specific, at least at time of writing, being introduced in Safari 9.0. From the "What's new in Safari?" documentation for Safari 9.0: Viewport Changes Viewport meta tags using "width=device-width" cause the page to scale down to fit content that overflows the viewport