ios9

Skype URI's not Working in iOS 9

十年热恋 提交于 2019-12-08 21:24:13
问题 I had implemented a module for opening Skype app for various modules chat ,call, video call.It was working till iOS 8. Below is link is followed for integration https://msdn.microsoft.com/en-us/library/dn745885.aspx But it stopped working in iOS 9 now. The below code is just opening the App-store searching Skype even when Skype is installed BOOL installed = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"skype:"]]; if(installed) { [[UIApplication sharedApplication]

Custom TableViewCell contents invisible on ios9 xcode7

我只是一个虾纸丫 提交于 2019-12-08 19:41:57
问题 iOS9 upgrade seem to have broken all my custom tableviewcell. They only show tableviewcell with the right height, but all the elements inside are missing. The layout worked perfectly on iOS 8 and iOS 7 devices. Here's a screenshot of my Storyboard Yet when it comes on the device, only background color shows up. func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCellWithIdentifier("DummyCell",

Crash in openURL: Possible Facebook SDK bug in iOS 9

你。 提交于 2019-12-08 19:28:44
问题 Context I am using the FBSDKLoginButton with my app. I am on Xcode 7.0 and my iPhone is running iOS 9 beta 3. I followed every step showed by Facebook (creating the app, etc) and followed the steps for adding the button as in https://developers.facebook.com/docs/facebook-login/ios#login-button. As I am on iOS 9, I had to add some minor changes to the info.plist file to enable cross-app opening: <key>LSApplicationQueriesSchemes</key> <array> <string>fbauth</string> </array> and since the

App Transport Security on Safari Extension

泪湿孤枕 提交于 2019-12-08 18:47:57
问题 My App extension need to open URL from many websites. I do as following: for (NSExtensionItem *item in self.extensionContext.inputItems) { for (NSItemProvider *itemProvider in item.attachments) { if ([itemProvider hasItemConformingToTypeIdentifier:(NSString *)kUTTypeURL]) { [itemProvider loadItemForTypeIdentifier:(NSString *)kUTTypeURL options:nil completionHandler:^(NSURL *url, NSError *error) { NSLog(@"URL: %@",url); I can get the URL, but at this point I got this error: App Transport

datepicker is incorrect in ios9

若如初见. 提交于 2019-12-08 17:26:33
问题 good morning :) i have a problem with my datepicker in ios 9 swift 2 this is how my datepicker looks like in ios 8 swift 2 [OK]: and this is my datepicker in ios 9 swift 2 [NOT OK]: Any ideas how i can solve it? 回答1: I had similar issue with UILabel and UIDatePicker in same cell. I figure out that setting witch for UIDatePicker based on container view width. Will cause this error, for ex: Leading and Tailing to container view Equal width as container view But when you set width as: Given

UIRefreshControl tint color doesn't match given color

别等时光非礼了梦想. 提交于 2019-12-08 16:19:24
问题 The refresh color doesn't match the tint color and looks different, i tryied to change tintAdjustmentMode but the result is the same Just to note, the spinner and text color should be 0x2C76BE tvc.refreshControl = [UIRefreshControl new]; tvc.refreshControl.tintAdjustmentMode = UIViewTintAdjustmentModeNormal; tvc.refreshControl.tintColor = [UIColor colorWithHex:0x2C76BE]; tvc.refreshControl.attributedTitle = [[NSAttributedString alloc] initWithString:@"Pull to query spectrum again" attributes:

iOS 9 Beta 3 Can't Trust Enterprise Developer Apps

倾然丶 夕夏残阳落幕 提交于 2019-12-08 16:17:37
问题 I updated to iOS 9 Beta 3 today, and I need to test an IPA file on my phone. I put it on, and it says I need to trust the developer first before I can open the app. I went to Settings > General > Profiles , and the option to do so is not present like it was in iOS Beta 2 . Anyone else have this problem and a solution? 回答1: I was having a similar issue and I just resolved it. Below are the steps I took: Open up Xcode 7 Beta 3 Open the Devices Window under the Window menu item (CMD+SHIFT+2)

End Date showing Wrong

倾然丶 夕夏残阳落幕 提交于 2019-12-08 12:59:59
问题 I want to find start date and end date of week I am geting start date but not find right end date of week startDate = NSDate().startOfWeek(2) print(startDate) endDate = startDate.endOfWeek(3) print(endDate) I am getting this start date -2016-07-04 06:30:00 +0000 and end date - 5828963-12-20 00:00:00 +0000 extension NSDate { func startOfWeek(weekday: Int?) -> NSDate? { guard let cal: NSCalendar = NSCalendar.currentCalendar(), let comp: NSDateComponents = cal.components([.YearForWeekOfYear,

Downcast from UITabBarItem? to UITabBarItem only unwraps optionals; did you mean to use '!'

匆匆过客 提交于 2019-12-08 12:56:32
问题 My code was working well in Xcode 6. But, after updating to Xcode 7 I got nearly 20 errors and 50 warnings.This might be some syntax change in Swift 2 Solved all those but can't figure out this one : Downcast from UITabBarItem? to UITabBarItem only unwraps optionals; did you mean to use '!' let tabItems = tabBar.items as! [UITabBarItem] // Error in this line for (index, value) in enumerate(tabItems) { var imageName = imageNames[index] value.image = UIImage(named: imageName) value.imageInsets

Custom keyboard crashes in App Store, but not in when launched from Xcode

守給你的承諾、 提交于 2019-12-08 07:55:30
I have found that installing and using custom keyboard works fine for my app when launching from Xcode, but if I release it to TestFlight or the AppStore then it crashes when a user clicks on a textbox and tries to bring up the keyboard. As far as I am aware there is nothing special about any of the textboxes in my app. The stack trace is: Thread : Fatal Exception: NSInternalInconsistencyException 0 CoreFoundation 6512725832 __exceptionPreprocess 1 libobjc.A.dylib 6869942144 objc_exception_throw 2 CoreFoundation 6512725528 +[NSException raise:format:] 3 Foundation 6528403996 -