
Control-drag the picker view to the View Controller icon above the canvas. In Xcode, open Main.storyboard and change the size class control (below the canvas) to wCompact/hAny.ĭrag a Picker View and a Button from the Object Library to the canvas. See the iOS 9 App Transport Security section in the OneDrive SDK for iOS readme for instructions.Īdd a picker that displays the user's 10 most recently modified sections and a button that creates a OneNote page in the selected section. If you're targeting iOS 9 with Xcode 7, you need to enable PFS exceptions. You should receive confirmation when the installation is complete.
#How to update onenote app install
Run these commands in Terminal to install the dependency and open the project workspace in Xcode. cd Īdd the OneDrive SDK dependency to the Podfile, and then save the file. Run these commands in Terminal to create a Podfile and open the file in Xcode. Azure AD authentication is used for access to enterprise notebooks on Office 365. Microsoft account authentication is used for access to consumer notebooks on OneDrive. The app in this tutorial uses the OneDrive SDK for both Microsoft account (formerly Live Connect) and Azure Active Directory authentication. You'll open the workspace after you create a Podfile. Choose Objective C, and choose iPhone devices.Īfter the project is created, close Xcode. In Xcode, create a Single View Application project for iOS named OneNote-iOS-App.
#How to update onenote app how to
(Learn how to register an app.)Ĭomplete code examples for key sample files are included at the end of the tutorial. A native client app registered on the Azure Management Portal or a mobile client app registered on the Microsoft account Developer Center.If you're new to using CocoaPods, see CocoaPods guides.

Here's what you'll need to follow this tutorial: The app uses the OneDrive SDK for iOS to handle authentication and network calls.
:max_bytes(150000):strip_icc()/005-onenote-not-syncing-how-to-get-it-back-online-5c75bd4ca1dd4f12b592fb31515e1920.jpg)
When creating your app, carefully review your code for potential security, validation, and other code-quality issues.

This tutorial is intended to demonstrate how to access the OneNote API, but it doesn't contain production-ready code.
