Last night, Apple held a WWDC in San Francisco and watched WWDC2016 live, and we found that the cautious and open Apple showed a lot of change in the new version of the four platform systems, and of course the big priority was the great iOS. Through the trial version of Ios10beta, in addition to the more powerful Siri grew up to feel more like imessage more powerful than the general text, pictures, emoticons, voice messages, but also support the message effects animation, dynamic graffiti messages, similar to the payment of red envelopes transfer, promotional sharing links, Media file Send (..... is a letter okay? ); There are improved map navigation, support voice, support beep, and so on; a bunch of long-term non-existent software can finally unload, more than a HomeKit application, strange call recognition function; notification bar, Notification alert message format and top ramen board design style from the simple translucent to the silly big white bar, The personal feeling is getting ugly!
Let's take a cursory look at the WWDC2016 and official documents what's New in ios10--https://developer.apple.com/library/prerelease/content/releasenotes/ GENERAL/WHATSNEWINIOS/ARTICLES/IOS10.HTML#//APPLE_REF/DOC/UID/TP40017084-SW1, let's see what iOS 10 brings to developers.
1 SiriKit
In iOS 10, developers can use the Siri SDK, which is undoubtedly the most important SDK for iOS 10. From there, developers can use native APIs to provide voice search, voice-to-text messaging, and even more common speech features.
2 Proactive Suggestions
Looks like a and corespotlight have integrated things, haven't looked at.
3 Message App Extension
In IOS 10 developers can give Message.app two kinds of app Extension, respectively, can provide a emoticons package (yes, English name is called sticker pack), and a custom interface for expression search, etc., obviously this is a let expression app developers Laugh to the crying API. Messagesextension
4 User Notifications
This API allows you to handle local or remote user notifications and can be based on a condition, such as time or geographic location. This is exceptionally powerful and seems to be able to intercept and replace the payload that your app has sent.
5 Speech Recognition
In the name of the speech recognition API, the audio stream can be converted into text in real time.
6 APP Search Enhancements
The enhancement of corespotlight, which I am more interested in is visualization of validation results.
7 Widget Enhancements
To match the experience of the widget under the IOS 10 lock screen, Apple offers the Widgetprimaryvibrancyeffect and Widgetsecondaryvibrancyeffect interface for customizing widgets.
8 Callkit
Very important API, following the 2014 Apple launched the VoIP certificate, the opening of this VoIP interface, as well as a brand-new App Extension, is simply the Gospel of VoIP, visible Apple's attention to VoIP. The Callkit framework VoIP application integrates with the iphone's user interface, giving users a great experience. Use this framework to let users view and answer the phone's lock screen and VoIP management contact phone in the phone app's favorites and History view.
Callkit also describes the extension of the application, which makes call blocking and call recognition. You can create an application extension that can associate a phone number with a name, or tell the system when a number should be blocked. "That enable call blocking and caller identification. You can create a app extension so can associate a phone number with a name or tell the system if a number should be B Locked. "Probably can do the phone blacklist function.
9 App Extensions
In fact, it is mentioned above, this is the top priority, IOS 10 incredibly insane brought the following new 7 kinds of App Extension:
- Call Directory
- Intents
- Intents UI
- Messages
- Notification Content
- Notification Service
- Sticker Pack
10 third-party keyboard improvements
Very very important, the third-party keyboard has not been very convenient to have long-press the Earth key function, now has. By handleinputmodelistfromview:withevent: You can eject the system keyboard list. While using Documentinputmode to detect the language in the input context, you can make some sort of alignment adjustments to the input mode.
More content still look here good:https://developer.apple.com/library/prerelease/content/releasenotes/general/ WHATSNEWINIOS/ARTICLES/IOS10.HTML#//APPLE_REF/DOC/UID/TP40017084-SW1
Another thing to note is that, as in previous versions of iOS, the metabolism, the new SDK, the opening of new APIs, will also be the old API is abandoned, so check your project, using the abandoned API to be modified as soon as possible, so as not incompatible!
There's one more thing to be aware of. iOS10 more strict management of privacy rights, such as access to the camera, microphone and other hardware, you need to request the application permissions in advance, allow to use, or now want to declare in advance, although the previous requirements are not strict. In iOS10 such as crashes, logs:
IOS10 flash crash 1:
This app had crashed because it attempted to access privacy-sensitive data without a usage description. The app ' s info.plist must contain an nscamerausagedescription key with a string value explaining to the user how the app u SES this data.
It means: You need to add a "nscontactsusagedescription" Key,value to the Info.plist file to add a description.
What I need to join here is to add in the application's Info.plist:
<key>NSCameraUsageDescription</key>
<string>cameraDesciption</string>
<key>NSContactsUsageDescription</key>
<string>contactsDesciption</string>
<key>NSMicrophoneUsageDescription</key>
<string>microphoneDesciption</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>photoLibraryDesciption</string>
Where this string value can be arbitrarily written
2. Note that the Xcode8 on the project to be careful, especially for the xib process, after the change can not be arbitrary point to save, or when you turn back with the Xcode7 open always found error, Xcode saved xib on the XCODE7 is not recognized!
3. New iOS on Xcode8, IOS10SDK the project will see message application and Sticker Pack application, which are specifically prepared for imessage emoticons, but do not require code.
WDC2106 iOS10 new features and what developers should pay attention to