ios11

tableview trailingSwipeActionsConfigurationForRowAt crack in ios11

你。 提交于 2019-12-01 18:07:06
I Use trailingSwipeActionsConfigurationForRowAt in IOS11 but when swipe multiple then app cracked. func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? { let delete = UIContextualAction(style: .normal, title: "Delete") { action, view, completionHandler in print("Deleting!") completionHandler(false) } delete.backgroundColor = UIColor.red let config = UISwipeActionsConfiguration(actions: [delete]) config.performsFirstActionWithFullSwipe = false return config } and some error *** Assertion failure in -

UICollectionView fails to honour zPosition and zIndex - iOS 11 only

☆樱花仙子☆ 提交于 2019-12-01 18:04:07
I try to find a workaround for this radar: http://www.openradar.me/34308893 Currently in my - (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes I'm doing the following: dispatch_after(dispatch_time(DISPATCH_TIME_NOW, NSEC_PER_MSEC * 50), dispatch_get_main_queue(), ^{ self.layer.zPosition = 0; }); But no matter how many NSEC_PER_MSEC I enter it doesn't work quite right, the scrolling indicator sometimes hides behind the headers, especially when ne headers appear. Is there another/better approach? user2921854 I had a similar problem where a header view in a

iPhone X - Safe Area does not achieve full-screen experience?

蹲街弑〆低调 提交于 2019-12-01 17:52:05
The new HIG for iPhone X available here , specify: "Provide a full-screen experience. Make sure backgrounds extend to the edges of the display, and that vertically scrollable layouts, like tables and collections, continue all the way to the bottom." Now I'd like to understand how to accomplish that with Xcode 9 GM, since it seems to me that the only view allowed to extend to the whole screen is the UIViewController root view, and that whenever I try to drag constraints for a view above that, i.e. WKWebView to the root view, the constraints get actually connected to the safe area, leaving both

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

SLServiceTypeFacebook' was deprecated in iOS 11.0

a 夏天 提交于 2019-12-01 17:48:39
I'm working on a project in xcode 9 and one of my previous codes giving a warning saying the code is been deprecated, where it does not trigger the action. The code as bellow. How can i overcome this ? @IBAction func shareOnFacebookButtonPressed(_ sender: Any) { let shareToFacebook : SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeFacebook) shareToFacebook.add(UIImage(named:"pureLightSocial")) self.present(shareToFacebook, animated: true, completion: nil) } The Facebook , Twitter , and Other apps options have been removed in the Settings app. That apps will now

tableview trailingSwipeActionsConfigurationForRowAt crack in ios11

旧巷老猫 提交于 2019-12-01 17:34:17
问题 I Use trailingSwipeActionsConfigurationForRowAt in IOS11 but when swipe multiple then app cracked. func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? { let delete = UIContextualAction(style: .normal, title: "Delete") { action, view, completionHandler in print("Deleting!") completionHandler(false) } delete.backgroundColor = UIColor.red let config = UISwipeActionsConfiguration(actions: [delete]) config

iOS 11 cookie expiration in home screen web apps

女生的网名这么多〃 提交于 2019-12-01 17:19:22
There appears to be an issue with iOS 11 (still an issue as of iOS 11.0.1), home screen web apps, and cookies. When a cookie is set from the server, iOS 11 seems to intermittently delete the cookie. Other times, when the server expires a cookie, iOS 11 appears to intermittently fail to delete the cookie. These two behaviors occur after closing and re-opening the home screen web app and don't seem to be reproducible in Safari. These behaviors also don't appear to be present in iOS 10 or iOS 9. I am guessing that this is a bug in iOS 11, but was wondering if anyone else has happened upon this

iOS 11 cookie expiration in home screen web apps

流过昼夜 提交于 2019-12-01 17:10:44
问题 There appears to be an issue with iOS 11 (still an issue as of iOS 11.0.1), home screen web apps, and cookies. When a cookie is set from the server, iOS 11 seems to intermittently delete the cookie. Other times, when the server expires a cookie, iOS 11 appears to intermittently fail to delete the cookie. These two behaviors occur after closing and re-opening the home screen web app and don't seem to be reproducible in Safari. These behaviors also don't appear to be present in iOS 10 or iOS 9.

iPhone X - Safe Area does not achieve full-screen experience?

孤街浪徒 提交于 2019-12-01 17:06:48
问题 The new HIG for iPhone X available here, specify: "Provide a full-screen experience. Make sure backgrounds extend to the edges of the display, and that vertically scrollable layouts, like tables and collections, continue all the way to the bottom." Now I'd like to understand how to accomplish that with Xcode 9 GM, since it seems to me that the only view allowed to extend to the whole screen is the UIViewController root view, and that whenever I try to drag constraints for a view above that, i

Main Thread Checker: UI API called on a background thread: -[UIApplication delegate]

人盡茶涼 提交于 2019-12-01 17:01:57
Xcode 9 seems to be reporting a lot of Main thread calls to UIApplication properties. Even though the UI is not being updated this is particularly cumbersome due to the extension of logs it produces a default environment. 4 TestApp 0x0000000101c262e0 __39-[ViewController viewDidLoad]_block_invoke + 196 5 libdispatch.dylib 0x0000000102279654 _dispatch_call_block_and_release + 24 6 libdispatch.dylib 0x0000000102279614 _dispatch_client_callout + 16 7 libdispatch.dylib 0x0000000102289008 _dispatch_queue_serial_drain + 716 8 libdispatch.dylib 0x000000010227ce58 _dispatch_queue_invoke + 340 9