We are excited to announce that we have just released our support for all of the new APIs introduced in iOS 8.
This release is the perfect companion to the iOS 8 GM developer release that you can use to submit apps to the App Store that take advantage of the new iOS 8 APIs.
We added support for the just-announced Apple Pay API, so developers can integrate this new payment system into their iOS apps. We have shipped same day support for iOS since iOS 5, enabling developers to add the latest features to their iOS apps immediately.
To ensure you get the most out of these exciting changes in iOS 8 using Xamarin and C#, we’ve created an extensive set of resources to help you get started:
Introduction to iOS 8
First off we have our Introduction to iOS 8 document, which describes all of the new features and major improvements to iOS 8, provides links to detailed usage documentation, and provides examples of using updated iOS features in Xamarin and C#. Additionally, you will find plenty of new iOS 8 samples to try right away.
With iOS 8, Apple lets you extend select areas of the system by supplying an App Extension — code that enables custom functionality within the context of a user task. To find out more about extending iOS 8 with Xamarin, check out our Introduction to App Extensions document.
In iOS 8, an application can use TouchID to authenticate a user. Some apps may need to secure access to all of their content, while others might need to secure certain pieces of information or options. In either case, you can require the user to authenticate before proceeding. To learn more about using TouchID in Xamarin, check out our Introduction to Touch ID document.
PhotoKit provides new APIs for working with photo and video assets, including iCloud Photos assets (managed by the Photos application), so that an application can edit photos directly in the Camera roll without having to import them first. For a quick example of using the PhotoKit framework in Xamarin, see Mike Bluestein’s Build Great Photo Experiences in iOS 8 with Photokit blog post.
Manual Camera Controls
The AVFoundation Framework makes it easier than ever for users to take great photos. An app can take direct control over the camera focus, white balance, and exposure settings. An app can also use bracketed exposure captures to automatically capture images with different exposure settings. To get the most out of Manual Camera Controls in Xamarin, see our Introduction to Manual Camera Controls document.
HealthKit allows apps providing health and fitness services to access shared health-related information in one place. A user’s health information is stored in a centralized and secure location and the user decides which data should be shared with an app. Find out more about using HealthKit with Xamarin by reading ourIntroduction to HealthKit documentation.
HomeKit provides seamless integration between accessories that support Apple’s Home Automation Protocol and iOS devices, allowing for new advances in home automation. With HomeKit, the mobile app that a user controls their home with doesn’t have to be provided by the vendor that created their home automation accessories. To find out more about supporting HomeKit in Xamarin, read our Introduction to HomeKit documentation.
With CloudKit, you can focus on your client-side app development and let iCloud eliminate the need to write server-side application logic. CloudKit provides authentication, private and public databases, and structured and asset storage services. To learn more about using CloudKit with Xamarin, check out our Introduction to CloudKit documentation.
The document picker view controller grants users access to files outside an app’s sandbox. It is a simple mechanism for sharing documents between apps. It also enables more complex workflows, because users can edit a single document from within multiple applications. Learn about using the Document Picker with Xamarin by reading our Introduction to the Document Picker document.
Handoff is a feature in OS X and iOS that extends the user experience by providing continuity across devices. Handoff enables users to begin an activity on one device, then switch to another device and resume the same activity on the other device. Learn how to enable Handoff in your Xamarin app by reading our Introduction to Handoff documentation.
iOS 8 makes dealing with screen size and orientation much more versatile. Using Unified Storyboards, you can create a single interface for an app that works well on both iPad and iPhone devices by adjusting easily to orientation changes and different screen sizes as needed. Find out about using Size Classes and Unified Storyboards by reading our Introduction to Storyboards document.
SceneKit is a high-level 3D graphics framework that helps you create 3D animated scenes and effects in your apps. SceneKit’s 3D physics engine enlivens an app or game by simulating gravity, forces, rigid body collisions, and joints. It’s also completely integrated with SpriteKit, so you can include SpriteKit assets in 3D games. For a quick example of using the SceneKit framework in Xamarin, see Mike Bluestein’s Lights, Camera, Action – 3D in iOS 8 with Scene Kit blog post.
The SpriteKit framework adds new features to make it easier to create high-performance, battery-efficient 2D games. With support for custom OpenGL ES shaders and lighting, integration with SceneKit, and advanced new physics effects and animations, you can add force fields, detect collisions, and generate new lighting effects in your games. For a quick example of using the SpriteKit framework in Xamarin, see Mike Bluestein’s New Sprite Kit Physics Features in iOS 8 blog post.
Installing Xamarin.iOS for iOS 8
Windows users with Visual Studio, in addition should:
- Switch Visual Studio Xamarin Updater Channel to “Beta”.
- Install the Visual Studio extension update.
You can browse our entire API change log and release notes to find out the latest features released today with Xamarin.iOS 8.0 and the new iOS 8 APIs.
Get Ready for iOS 8 Webinar
Xamarin Developer Evangelist Mike Bluestein will provide an overview of the top new and updated APIs it includes. Join us Thursday, September 11th at 8 am PT for this webinar to learn about incorporating all of the great new features into your app.
Register for Get Ready for iOS 8