what’s new in ios 8 sdk ?
DESCRIPTION
Apple introduced iOS 8 SDK recently,get more in depth knowledge on what's new in iOS 8 SDK.TRANSCRIPT
Confidential. © E2Logy Software Solutions Pvt Ltd
What’s New in iOS 8 SDK
Confidential. © E2Logy Software Solutions Pvt Ltd
iOS 8 SDK Overview
iOS8 is biggest release for developers since the introduction of the app store.
iOS8 includes over 4000 new API.
Sharing options are open for developers(can add your app in default sharing menu)
Photo app : Developers can embed their photo filters in photo app.
Notification Center : Actionable notifications, even can access notification without device unlock
Widgets : Developer can build widget and that can appear in Notifications center.
Confidential. © E2Logy Software Solutions Pvt Ltd
iOS 8 SDK overview
3rd Party Keyboard : developer can build custom keyboard.
Document editing and auto sync with iCloud at original location.
Predictive typing
Family Sharing(up to 6 Members)
Swift Programming language
Testflight integration
Confidential. © E2Logy Software Solutions Pvt Ltd
Extensibility
An app extension (or extension) lets you extend custom functionality and content beyond your app and make it available to users while they’re using other apps. Extension Types :Extension Example extension that helps users
Today Get a quick update or perform a quick task in the Today view of Notification Center (A Today extension is called a widget)
Share Post to a sharing website or share content with others
Action Manipulate or view content within the context of another app
Photo Editing Edit a photo or video within the Photos app
Storage Provider Choose a document from among the set of documents the current iOS app can access
Custom keyboard Replace the iOS system keyboard with a custom keyboard for use in all apps An app extension is different from an app. Although you must use an app to deliver your extensions, each extension is a separate binary that runs independent of your app.
You can add multiple extension targets to a single app (an app that contains one or more extensions is called a
containing app). When users install your containing app, the extensions it
contains will automatically installed.
Confidential. © E2Logy Software Solutions Pvt Ltd
Extensibility – Design & Life Cycle
Should be Focused on single task. i.e. photo related extension should support image editing related feature only
Better to use standard UI instead of custom UI i.e. for Photo editing extension use UI like photo app has used. Today Extension should match UI which are used in default Today’s UI.
extension’s life cycle begins when a user chooses it from within another app
An app that can let users choose an extension to help them perform a task is called a host app.
An extension’s life cycle ends soon afterit completes the request.
Confidential. © E2Logy Software Solutions Pvt Ltd
Local Authentication Framework
The Local Authentication framework provides facilities for requesting authentication from users with specified security policies. For example, to request that the user authenticate using Touch ID.
Touch ID will be mostly useful for apps or part of content in app , which is more secured, and required to have user authentication before proceeding.
LocalAuthentication.framework
Confidential. © E2Logy Software Solutions Pvt Ltd
Photos Framework
The Photos framework (Photos.framework) provides new APIs for working with photo and video assets, including iCloud Photos assets, that are managed by the Photos app.
You can get photos based on Moments hierarchy, and also can identify burst photos, panoramic photos, and high- framerate videos
Asset and thumbnail loading and caching - Request images of assets at a specified size, or AV Foundation objects you can use for working with video assets. The Photos framework automatically downloads or generates images to your specification, caching them for quick reuse.
PhotosUI.framework to create app extensions for editing image and video assets in the Photos app.
Confidential. © E2Logy Software Solutions Pvt Ltd
Manual Camera Control
Your app can take direct control over the camera focus, white balance, and exposure settings. In addition, your app can use for automatically capture images with different exposure settings
iOS 8's Camera brings notable additions like a timer and separate controls for focus and exposure. As seen in the screenshot below, the timer comes with basic three-second and ten-second delays, along with an off mode.
Confidential. © E2Logy Software Solutions Pvt Ltd
Health Kit Framework
Health Kit (HealthKit.framework) is a new framework for managing a user’s health-related information.
Health Kit makes it easy for apps to share health-related information, whether that information comes from devices connected to an iOS device or is entered manually by the user.
The user’s health information is stored in a centralized and secure location.
The user decides which data should be shared with your app. Once data is shared with your app, your app can register to be notified when that data changes
For example, you could request that your app be notified whenever the user takes his or her blood pressure, or be notified only when a measurement shows that the user’s blood pressure is too high.
Mayo Clinic have developed an application that can message a health professional if certain readings go outside safe bounds that they have set for their patient (with the patients permission!)
At this moment this feature would be available only for iPhone
Confidential. © E2Logy Software Solutions Pvt Ltd
Home Kit Framework
Home Kit (HomeKit.framework) is a new framework for communicating with and controlling connected devices in a user’s home.
Can create actions to control devices. The user can group actions together and trigger them using Siri i.e. “Siri, turn on the lights in the living room.” I.e. “Siri, turn on all of the lights downstairs.”
Grant home device’s access to guest.
Home Configuration-hierarchy : Homes , Rooms , Accessories , Services , Zones
This framework will work only with accessories which support Apple’s Home automation protocol
Confidential. © E2Logy Software Solutions Pvt Ltd
Cloud Kit
The Cloud Kit (CloudKit.framework) provides interfaces for moving data between your app and your iCloud containers.
No Web Services development will require, can store content directly in iCloud
Apps can store data in a public area that is readable by all users and for that will not require user’s iCloud account.
A record is a dictionary of key-value pairs representing the data you want to save.
It provided various db operations methodsfor data manipulation i.e. add, query
Confidential. © E2Logy Software Solutions Pvt Ltd
Handoff
Handoff is a capability introduced in iOS 8 and OS X v10.10 that is designed to facilitate easy transfer of user activities among multiple devices associated with the same user.
i.e. a user who is browsing a long article in Safari moves to an iOS device that's signed into the same Apple ID, and the same webpage automatically opens in Safari on iOS, with the same scroll position as on the original device.
Confidential. © E2Logy Software Solutions Pvt Ltd
Unified Storyboards for Universal Apps
Create a single interface for your app that works well on both iPad and iPhone, adjusting to orientation changes and different screen sizes as needed.
Design apps with a common interface and then customize them for different size classes.
You no longer need to create a specific iPad storyboard; instead target the appropriate size classes and tune your interface for the best experience.
To support the new Size Classes, you'll need to enable "Use Size Classes" in the File Inspector of your storyboard. This will allow you to configure your storyboard for multiple device sizes.
Confidential. © E2Logy Software Solutions Pvt Ltd
Additional Framework Changes
Core Location Manager : You can determine which floor the device is on, if the device is in a multistory building.
You can also use it to define geographic regions and monitor when the user crosses the boundaries of those regions. In iOS, you can also define a region around a Bluetooth beacon
Core Image : Core image detectors can detect rectangles and QR codes in an image.
iAd : If you are using AV Kit to play a video, you can play preroll advertisements before the video is played
The UISplitViewController class is now supported on iPhone as well as iPad
The new UIPrinterPickerController class offers a view controller-based way to display a list of printers and to select one to use during printing. Printers are represented by instances of the new UIPrinter clas
Confidential. © E2Logy Software Solutions Pvt Ltd
Additional Framework Changes
The UINavigationController class has new options for changing the size of the navigation bar or hiding it altogether by using gestures.
The new UIVisualEffect class enables you to integrate custom blur effects into your view hierarchies.
The new UIAlertController class replaces the UIActionSheet and UIAlertView classes as the preferred way to display alerts in your app.
The new UIPrinterPickerController class offers a view controller-based way to display a list of printers and to select one to use during printing. Printers are represented by instances of the new UIPrinter class
Confidential. © E2Logy Software Solutions Pvt Ltd
Deprecated APIs
The UIApplication methods and properties for registering notifications.
The UIViewController methods and properties for interface orientation.
The UISearchDisplayController Class class. This class is replaced by the UISearchController class.
Methods and properties in Game Kit that use player identifier strings.
Confidential. © E2Logy Software Solutions Pvt Ltd
iOS 8 Screens – Interactive Notifications
Confidential. © E2Logy Software Solutions Pvt Ltd
A stronger Spotlight
Confidential. © E2Logy Software Solutions Pvt Ltd
Keyboards get powered up
Confidential. © E2Logy Software Solutions Pvt Ltd
Messages gets audio and video chat
Confidential. © E2Logy Software Solutions Pvt Ltd
iCloud Drive
Confidential. © E2Logy Software Solutions Pvt Ltd
HealthKit centralizes your health info
Confidential. © E2Logy Software Solutions Pvt Ltd
Family sharing
Confidential. © E2Logy Software Solutions Pvt Ltd
A brand-new Photos app
Confidential. © E2Logy Software Solutions Pvt Ltd
Sample Widget
Confidential. © E2Logy Software Solutions Pvt Ltd
Share Actionsheet
Confidential. © E2Logy Software Solutions Pvt Ltd
Thank You