私は iOS 開発が初めてで、アプリに [開く] ボタンを追加して、アプリに含まれる PDF ファイルを iBooks または他のアプリで表示できるようにしたいと考えています。
[開く] ボタンを追加するにはどうすればよいですか?
ありがとう
UIDocumentInteractionControllerを使用します。
例えば:
[[UIDocumentInteractionController interactionControllerWithURL:fileUrl] presentOpenInMenuFromBarButtonItem:barButton animated:YES];