ios9

Launch Screen.storyboard not work properly Xcode 7

一世执手 提交于 2019-12-01 20:50:33
I am using Launch Screen storyboard in Xcode 7 to support iOS 9, And using imageSet to support iOS 7. First thing I put UIImageView in LaunchView at full screen, and use images below (see image) at source to that imageView , but when I run my app in simulator this image do not show correctly (iPhone 4s, 5, 6, and 6 plus) Where is the problem? Can anyone help please? I have faced same issue one time. batter to use xcassets For the launch image you can use the assets folder with the device specific launch images. Add all launch screen here as per your requirement. Go to the General Settings Of

Linking error when building Parse in Xcode 7

两盒软妹~` 提交于 2019-12-01 20:19:19
I am trying to add the Parse.com SDK to my Xcode 7 project. I have followed the getting started guide and I have managed to do it before in Xcode 6. However this time I am being shown this error message when I try to build: ld: framework not found Bolts clang: error: linker command failed with exit code 1 (use -v to see invocation) Thanks Nilesh Patel I suggest you integrate Parse using CocoaPods. Cocoapods manages the library dependencies in a much better way. The following is a sample PodFile: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '7.0' inhibit_all_warnings! target '

Date formatting in iOS 9 not working [duplicate]

浪子不回头ぞ 提交于 2019-12-01 20:00:31
This question already has an answer here: What is the best way to deal with the NSDateFormatter locale “feechur”? 4 answers I'm have a problem with date formatting in iOS 9, it works ok with iOS 8 and also it works when I'm testing it in simulator with iOS 9, but when a test it on real device with iOS 9 I'm getting null. Below is code that I'm using NSLog(@"String Date: '%@'", stringDate); NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateFormat:@"MM/dd/yyyy hh:mm:ss a"]; NSDate *date = [dateFormat dateFromString:stringDate]; NSLog(@"Date: %@", date); In log I'm

accessing and downloading on demand resources iOS9

若如初见. 提交于 2019-12-01 19:32:45
I am trying to implement new iOS9 feature app thinning, I understood how tag an image and enable on demand resource in Xcode 7 but I don't understand how to implement NSBundleResourceRequest in my app, can someone help me, that would greatly appreciated First, check if the resources are available. Else download them. Here is the swift code I use let tags = NSSet(array: ["tag1","tag2"]) let resourceRequest = NSBundleResourceRequest(tags: tags as! Set<String>) resourceRequest.conditionallyBeginAccessingResourcesWithCompletionHandler {(resourcesAvailable: Bool) -> Void in if resourcesAvailable {

Date formatting in iOS 9 not working [duplicate]

自闭症网瘾萝莉.ら 提交于 2019-12-01 19:12:17
问题 This question already has answers here : What is the best way to deal with the NSDateFormatter locale “feechur”? (4 answers) Closed 4 years ago . I'm have a problem with date formatting in iOS 9, it works ok with iOS 8 and also it works when I'm testing it in simulator with iOS 9, but when a test it on real device with iOS 9 I'm getting null. Below is code that I'm using NSLog(@"String Date: '%@'", stringDate); NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat

iOS 9 how to invoke “Back to” feature programmatically

别来无恙 提交于 2019-12-01 19:04:45
Is there an api to invoke "Back to" action programmatically in order to return to the app which called (openurl) mine? It is not possible for you to redirect back to the app The reason is The only possible way for launching another app programmatically(Exposed by Apple) is via URLScheme. That means the current app should know the URL scheme of the to-be-launched app. In your case the launched app does not not know the URL scheme of the launched app. So there is no way to go back to the previous app. 来源: https://stackoverflow.com/questions/33717411/ios-9-how-to-invoke-back-to-feature

iOS 9 - Ad inventory unavailable

我们两清 提交于 2019-12-01 18:20:12
After updating to Xcode 7 and building my app in iOS9, iAds stopped working and I get this error in bannerView didFailToReceiveAdWithError: Ad inventory unavailable. Any ideas? EDIT: iAds are now working. Apple must have fixed it after we filed bug reports on the issue. I am using Xcode 7.3.1 and I received the same error. After I renewed my membership I was able to click at the contracts,tax and banking information section. I saw that there wasn't a contract type for the iAd App Network anymore..only a contract type for paid applications. So my suggestion is that Apple does not support iAd

Getting GameCenter invite friend to work (iOS9?)

拈花ヽ惹草 提交于 2019-12-01 18:11:06
I cannot get GameCenter invite friend to work. The match maker view controller shortly shows the invited player and a little text "Failed" under it. Maybe I picked the wrong time to learn GameCenter, as quite a few people report difficulties with iOS9. But maybe there is a solution somewhere. Basics: iTunesConnect App record exists, app is not public, GameCenter is enabled, one leaderboard has been created, two sandbox users have been created (different from my main apple id) The app has one view controller, which for now shall handle all GameCenter things In viewDidLoad the player

ERROR ITMS-90725: Please update Xcode and rebuild your app

旧时模样 提交于 2019-12-01 17:51:13
My current project in Swift 3.2 and Xcode 8.3 this error comes today even I have successfully uploaded to iTunes before 3 days. ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS '10.3' SDK. All new iOS apps submitted to the App Store must be built with the iOS '11.0' SDK or later, included in Xcode [9.0] or later. Please update Xcode and rebuild your app." From Apple's Submitting apps to the App Store : Starting April 2018, all new iOS apps submitted to the App Store must be built with the iOS 11 SDK. And a related (older but probably useful) Technical Note : It is not

iOS 9 - Ad inventory unavailable

爷,独闯天下 提交于 2019-12-01 17:43:36
问题 After updating to Xcode 7 and building my app in iOS9, iAds stopped working and I get this error in bannerView didFailToReceiveAdWithError: Ad inventory unavailable. Any ideas? EDIT: iAds are now working. Apple must have fixed it after we filed bug reports on the issue. 回答1: I am using Xcode 7.3.1 and I received the same error. After I renewed my membership I was able to click at the contracts,tax and banking information section. I saw that there wasn't a contract type for the iAd App Network