私のUIDocumentsInteractionControllerは、「iBooks」というボタンが付いたアクションシートを表示する限り機能していますが、そのボタンをクリックすると、単に閉じてiBooksに移動しません。これが私のコードです:
NSString *filenamePath =[NSString stringWithFormat:@"temp.%@", [[file path] pathExtension]];
NSString *docDir = [DataCenter getDocumentsDirectoryPath];
NSString *fullPath = [docDir stringByAppendingPathComponent:filenamePath];
NSURL *url = [NSURL fileURLWithPath:fullPath];
UIDocumentInteractionController *c = [UIDocumentInteractionController interactionControllerWithURL:url];
BOOL success = [c presentOpenInMenuFromBarButtonItem:buttonBack animated:YES];
私は何が間違っているのですか?ありがとう