我们希望我们的应用能够在 Excel 应用中打开 Excel 文档进行编辑,然后能够在发送回我们的应用程序时返回并查看更改。
我无法让它与OneDrive或SharePoint链接一起使用,尽管它说在此页面上这是可能的:
https://msdn.microsoft.com/en-us/library/office/dn911482.aspx
我是否以某种方式误解了这一点?
在 Excel iOS 应用中打开文档
类似于设置哑剧类型。您可以在 iOS 上使用UIDocumentInteractionController
类执行此操作。
Developer.apple.com 文档
教程
在应用内获取文档的内容
正如另一位评论者建议的那样,点击Microsoft图形 API:
[[[[[graphClient me] drive] items:<item_id>] request] getWithCompletion:^(MSGraphDriveItem *item, NSError *error){
//Returns a MSGraphDriveItem object or an error if there was one.
}];
https://github.com/microsoftgraph/msgraph-sdk-ios/blob/master/docs/items.md#get-an-item