Questions tagged [ios10]

iOS 10 is the tenth version of Apple's iOS mobile operating system. It was announced at the company's Apple Worldwide Developers Conference (WWDC) on June 13, 2016. The ios10 tag should be used for questions specific to Apple's iOS 10 operating system. General iOS questions should use the ios tag.

Introduced at WWDC 2016, iOS 10, dubbed "the biggest iOS release ever" brings many new features and an interface redesign.

New features include:

  • Improved Messages, Maps, Apple Music
  • New SiriKit and CallKit frameworks

iOS 10 is the latest version of iOS released to the public and supports the following devices.

iPhone

  • iPhone 5
  • iPhone 5C
  • iPhone 5S
  • iPhone 6
  • iPhone 6 Plus
  • iPhone 6S
  • iPhone 6S Plus
  • iPhone SE
  • iPhone 7
  • iPhone 7 Plus

iPod Touch

  • iPod Touch (6th generation)

iPad

  • iPad (4th generation)
  • iPad Air
  • iPad Air 2
  • iPad Pro 12.9
  • iPad Pro 9.7

iPad Mini

  • iPad Mini 2
  • iPad Mini 3
  • iPad Mini 4

More information can be found here:

2837 questions
1
vote
0 answers

requestAuthorization result is invalid in applicationDidBecomeActive

To get permission to show notifications, I request system and it returns the result ok, but meanwhile applicationDidBecomeActive is called and when I check for UIApplication.sharedApplication().currentUserNotificationSettings() it's 1 which is…
AVEbrahimi
  • 13,285
  • 12
  • 70
  • 151
1
vote
1 answer

Crash on long pressing link inside UITextView

I'm facing weird crash while long pressing and then clicking a link inside UITextView. Below is my code for handling touch event on link. func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange) -> Bool { …
Varun Mehta
  • 1,653
  • 3
  • 17
  • 35
1
vote
0 answers

swift userNotificationCenter check Identifier

I have just confirmed that if the UNUserNotificationCenter was turned on, the userNotificationCenter function would also be turned on. So I want to check the Identifier in the userNotificationCenter function and change the notification according to…
1
vote
2 answers

How to use Back-to-app button on iOS10

In iOS 9, we have Back-to-appB button in application A when the application A is opened from application B. You can see Back-to-app button (Back to Safari, Back to App Store) in below picture: Example pictures But on iOS 10, we haven't seen…
MinhDev
  • 11
  • 7
1
vote
2 answers

iOS Swift Can't identify error on run-time

I'm having the weirdest error in Xcode while I'm running app on my device It shows me this error:- The error is: thread 1 exc_breakpoint (code=1, subcode = 0x1003a91fc) Can y show me how to identify the error and what is the error? Update: why…
1
vote
1 answer

Launch photo library without using uiimagepicker

I am working on a camera app. I need to adapt the same behavior of the default camera app which opens camera roll when you tap the image on the left corner. How I can launch camera roll as the default app does? I do not want to get an image, so I…
George Vardikos
  • 2,047
  • 1
  • 9
  • 22
1
vote
2 answers

UINavigationItem: detect touch

Is it possible to detect a touch in a UINavigationItem? I would like to create a little animation on an UINavigationItem when the user taps on it. In other words: my titles contain way too much text, hence I had to truncate them I want the user to…
mm24
  • 8,150
  • 11
  • 65
  • 159
1
vote
3 answers

How to make SWRevealViewController cover the main view not push it?

I was following this tutorial Customize your SWRevealViewController slide-out menu and this is the layout of the app this how SWReveal push the main View but the way Gmail works is to cover the main View like this photo and I was wondering if…
1
vote
2 answers

Swift 3 Send image to CloudKit with CKAsset

N.B: This is not a repeat question, I have looked at the other solutions but none are working in Swift 3, but they do in Swift 2. I need to get an image from a photo library with UIImagePickerController, that is working fine, then what I need to do,…
RufusV
  • 398
  • 2
  • 16
1
vote
0 answers

AFNetworking 3.0 iOS 9.3.5 reject some SSL

This happened only in iOS 9.3.5 (not sure about other 9 or below), not occur in iOS 10.x. When I use AFNetworking to connect to an API URL, it just run into failure callback with error like below: LOG: Error Domain=NSURLErrorDomain Code=-1004…
Eddie
  • 1,878
  • 2
  • 20
  • 41
1
vote
1 answer

How do I open the app when local notification is tapped with the new notification mechanisms?

application:didReceiveLocalNotification: is deprecated starting iOS10, and the developer page doesn't point to any alternatives. UNNotificationRequest* request = [UNNotificationRequest requestWithIdentifier:@"localnotification" …
Spartacus9
  • 164
  • 2
  • 18
1
vote
1 answer

Push Notification does not work on iOS 10 via TestFlight

I have came to know that push notification settings have been changed in iOS10. I have done the required steps and deployed the application via Xcode, then tested and the push notification worked. Then I deployed it on the TestFlight and asked my…
casillas
  • 14,727
  • 15
  • 94
  • 183
1
vote
1 answer

FCM silent push notification structure for iOS?

I need example of notification payload for silent notification, I tried this below structure, but it's not working { "notification" : { "body" : " Survey list updated", "content-available:" : true, "data" : { …
1
vote
0 answers

why UIApplicationOpenSettingsURLString is crashing on camera switch change?

NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString]; [[UIApplication sharedApplication] openURL:url]; its work fine for other settings like : [[UIApplication sharedApplication] openURL:[NSURL…
1
vote
1 answer

Update progress bar while writing files swift 3

I'm using swift 3 to write an iOS app. I'm trying to write a bunch of files in a loop and show progress in the UI. The loop goes: write file Check remaining disk space Update UI and progress bar Loop The UI is not updating until the loop…
Adam Monica
  • 11
  • 1
  • 3
1 2 3
99
100