Introduction to iOS 11

PDF for offline use
Sample Code:

Let us know how you feel about this

Translation Quality


0/250

last updated: 2016-08

Try new iOS 11 APIs with Xamarin.

Early Preview warning logo

⚠️

WARNING! The Xamarin.iOS Preview introduces support for iOS 11, tvOS 11 and watchOS 4. The latest version of Xcode 9 Beta is required to test the new features.

Download and Install

This is a preview release outside of the normal Xamarin Alpha and Beta channels, and must be installed manually on macOS by doing the following:

  1. Install the latest XcodeDownload and install the latest version of Xcode 9 beta.

  2. Run Xcode First – Run Xcode once, before updating and running Visual Studio for Mac, as it installs some tools that Xamarin requires the first time it is run.

  3. Download and install the Xamarin Preview – Follow the instructions on the Xcode 9 Preview release blog.

  4. Point to the Xcode 9 SDK – Run Visual Studio for Mac, open the Preferences... menu item and navigate to SDK Locations > Apple. Under the Apple SDK section, click the Browse button, and find the location of your Xcode 9 beta install. Click the OK button to save your changes (restarting Visual Studio for Mac may be required).

  5. (optional) Install the latest iOS Beta for real Apple Hardware – To test iOS 11 on any physical iOS devices, download and install the iOS beta on your devices.

ℹ️

When you start the preview version of Visual Studio for Mac it may prompt you with "updates" - you should ignore those prompts (close without downloading). Applying the updates will replace the preview, and you will need to re-install it to get Xcode 9 compatibility.

Visual Studio 2017 on Windows

After installing Xcode 9 on your Mac, follow the instructions on the Xcode 9 Preview release blog for installing the Xamarin.VS 4.6 extension for Visual Studio 2017 on Windows.

Samples

We have a number of C# samples to get started:

More Information

For more information on iOS 11, please see Apple's What’s New in iOS 11 documentation.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.