Date post: | 22-Jan-2018 |
Category: |
Technology |
Upload: | liyao-chen |
View: | 2,072 times |
Download: | 0 times |
Sessions
- What’s New in watchOS
- The Life of a watchOS App
- What's New in Safari View Controller
- Customized Loading in WKWebView
- New Group Layout Property
- Water Lock API
- Vertical Paging View
- Scroll to Top, Center, Down
- Auto Rotate
5 New API features for UI
- Touch latency
- Lauch performance
- Pan gesture performance
- Upped-memory limits accordingly
Benefits
Frontmost App State - Benefits
- Extend runtime
- URLSession
- WatchConnectivity
- Haptic playback
- Notification handling
Workout
- Hardware pause/resume
- Workout segments
- Workout routes
- Supports enabling water lock mode
Audio Recording
- Custom recording controls
- In-line processing (real time language translation)
- Background recording
- Start from foreground
Audio Recording
- Recording
AVAudioInputNode (AVAudioEngine)
AVAudioRecorder
AVAudioSession recording permissions
- Formats supportedAAC-LC, AAC-ELD, HE-AAC, HE-AACv2, MP3 (decoding only), Opus
Navigation
- Appears on wrist raise
- Audio and haptics from background
- Supports enabling water lock mode
- Start from foreground
Core Bluetooth
- Limited to two peripherals
- Central support only
- Minimum connection interval of 30ms foreground (120ms
background)
- Background running apps can only connect (not scan)
- Peripherals disconnect when app is suspended
New Look
Customizing Color
Customizing Dismiss Button
Customizing Share Sheet
Bar Collapsing
5 Things about UI
Drag and Drop
Status Bar Styling
Webpage window.open() window.close()
privacy
browsing mode is no longer tied to Safari’s
5 Improvement
Drag and Drop
Status Bar Styling
Webpage window.open() window.close()
Privacy
Browsing mode is no longer tied to Safari’s
5 Improvement
- On iOS 11, Safari View Controller will have a separate persistent data store in each app
that it's used in.
- This means that cookies, local storage, and other browsing data will be contained within
your app and scoped to your app.
- And this means that the user won’t automatically be logged in to whatever accounts they
were logged into in Safari.
- What this does is it will prevent cross-app tracking of user’s browsing activity that you and
your users may not have even been aware about.
- And ultimately, it helps keep users’ browsing activity private and scoped within your app.
WKHTTPCookieStore
- Add and remove individual cookies
- Access all cookies visible to a WKWebView
- Including HTTP-only cookies
- Observe the cookie store for changes
WKContentRuleList
- Same syntax as Content Blocker extensions for Safari (JSON)
- Make content invisible
- Make insecure loads secure
- WebKit compiles your rules into efficient bytecode
WKURLSchemeHandler
- Allows your app to handle resource loads for a URL scheme
- Only custom URL schemes that WebKit doesn’t handle itself
- You cannot use “local” as your URL scheme