ios9

'Communications error: <OS_xpc_error:' while recording video

醉酒当歌 提交于 2019-11-29 05:22:56
I am recording video using my application for 4-5 minutes, each time application shows following message in console and crashes. warning: could not load any Objective-C class information from the dyld shared cache. This will significantly reduce the quality of type information available. Communications error: <OS_xpc_error: <error: 0x19d846af0> { count = 1, contents = "XPCErrorDescription" => <string: 0x19d846e50> { length = 22, contents = "Connection interrupted" } }> iOS version : 9.1 Device : iPhone 5S, 6 and 6+. Same thing works like charm in other version below 9.1. is anyone aware about

Clicking on NSURL in a UITextView

萝らか妹 提交于 2019-11-29 04:53:27
I have a UITextView that spans 100.0 points across my UIView . In the UITextView , I have links that get captured with the following function: - (BOOL) textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange This works great to capture certain characters but I have one problem: if the link is the last characters in the text view, then the tap will get pressed all the way across that line. So if I have the text view with the following text where @test is the link: // The entire remainder of the line will be the link (all the white space after @test)

Check if user has Facebook Messenger installed iOS 9

十年热恋 提交于 2019-11-29 04:35:11
Facebook has deprecated the method [FBSDKMessengerSharer messengerPlatformCapabilities] that is used to check if the user has Messenger app installed. In the warning message, it says: messengerPlatformCapabilities is deprecated: This is deprecated as of iOS 9. If you use this, you must configure your plist as described in https://developers.facebook.com/docs/ios/ios9 I would like to remove this method, but haven't found any other option to replace this code (that makes a button disabled if user hasn't Messenger app installed): if (![FBSDKMessengerSharer messengerPlatformCapabilities]) { [self

Unable to lock orientation on iPad Air 2

杀马特。学长 韩版系。学妹 提交于 2019-11-29 03:25:15
The iOS application I am working on has a view that needs to be locked in landscape orientation. Up to this point, that was accomplished by using the shouldAutorotate and supportedInterfaceOrientations methods, but on an iPad Air 2 running iOS9 beta5 , these methods never fire and the orientation is not locked. I have tried on the following devices, methods fired on all except the Air2 (running debug with Xcode beta6): iPhone 6+, iPad Mini, iPad Air 2, iPad 2, iPad 3 The methods not firing are as follows: - (BOOL)shouldAutorotate { return YES; } - (UIInterfaceOrientationMask

NSInternalInconsistencyException: 'Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)'

拟墨画扇 提交于 2019-11-29 02:56:44
I'm trying to get my app working in Xcode 7 beta but I'm hitting this exception: NSInternalInconsistencyException: 'Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)' Here's the callstack: 0 CoreFoundation 0x00000001063a89b5 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x0000000105e20deb objc_exception_throw + 48 2 CoreFoundation 0x00000001063a881a +[NSException raise:format:arguments:] + 106 3 Foundation 0x00000001036f8b72 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198 4 CoreLocation 0x00000001031c7fe3

/Fabric.framework/run: Permission denied

血红的双手。 提交于 2019-11-29 02:55:16
问题 While running my App I am getting Path/Library/Developer/Xcode/DerivedData/app-hhrnpfyhpluwgwcdjsjkbeehwwqs/Build/Intermediates/app.build/Debug-iphoneos/app.build/Script-C0EDB4D81B6759AC0067631D.sh: line 2: ./Fabric.framework/run: Permission denied If any one faced the similar issue , please suggest me the way to fix this? I am running in Xcode 7.0 , iOS 9 I have this in my plist Any helps is appreciated! Edit :This solved my issue : Step:1: Sign up for Fabric Here Step:2: Follow the steps as

Issues after updating to IOS11 and Xcode9!! “com.google.Maps.LabelingBehavior”, “TIC Read Status”

拟墨画扇 提交于 2019-11-29 02:51:02
问题 I have updated my phone and Xcode to the most recent update and I am getting tons of warnings. First one is 2017-09-21 00:23:15.669466+0100 The Kallos[12068:1279021] TIC Read Status [1:0x0]: 1:57 and there is literally 2-3 posts about this which doesn't even explain what it is! This is another warning, I found a similar post which explains this issue but it doesn't give a solution on how to fix it! Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]

Action Sheet problems in iOS 9

萝らか妹 提交于 2019-11-29 02:23:31
Apple has deprecated the action sheet in iOS 8.3 how do you add an action sheet to my user interface? I realized Apple's documentation isn't very clear on how to create an action sheet with UIAlertController. So after a little playing around I just wanted to share my code, since I couldn't really find anything useful on Stack Exchange about this topic. I had the same problem in my iPhone app, with an UIActionSheet to ask the user if they wanted to take a photo, or pick an image from their gallery. Prior to iOS 9, the following code worked fine: UIActionSheet *actionSheet = [[UIActionSheet

Xcode 7 what is the view “semantic” storyboard setting?

淺唱寂寞╮ 提交于 2019-11-29 02:13:54
问题 I see that iOS9 and xCode7 introduced a new field called "semantic" into storyboard config. A google search did not reveal relevant results on top. What is the significance of the view semantic field? 回答1: There is a new internationalization support in iOS 9, which enables flipping of the interface from left to right and vice versa depending on the current system language. You can choose Arabic language to test it. Arabic is read from right to left, so the interface is flipped. Here you can

|-(20)-[UIInputSetContainerView constraint breaks when call-in status bar gets visible [duplicate]

扶醉桌前 提交于 2019-11-29 02:13:11
问题 This question already has answers here : In Call Status Bar (Unable to Satisfy Constraints) (4 answers) Closed 3 years ago . My app breaks a constraint when I present the "Call-in" status bar by pressing Command+Y in the simulator. It only happens the first time it presents the call-in bar. Everything looks as it supposed to, but the log prints out the following: Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want.