How to create a one drive picker inside iOS app with new Graph API

Veera Venkata Sateesh Pasala 1 Reputation point
2020-06-08T05:17:24.523+00:00

We have been using the One drive picker inside our iOS app . Now that , it has been deprecated and Graph is launched , I want to implement the same .
What I am expecting is , When user clicks one drive option in app , they have to be redirected to web view and allow them to select a file , like a file picker. I have checked the documentation and using the API , I was able to get only the response like file information .

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,666 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,751 Reputation points Microsoft Employee
    2020-06-10T00:31:10.913+00:00

    Which Graph endpoint you have tried to access the one drive objects. Have you looked into OneDrive file picker for JavaScript v7.2 overview. This version supports Safari Desktop & Mobile 5+ browsers.

    You can also refer to the Microsoft Graph API for one drive's provided over here. The documentation section Work with content in formats your app understands provides you information to display thumbnails and using the OneDrive's file previewer within your app.