Как открыть файл на iBooks

Как я могу открыть книгу на iBooks? Я попробовал следующий код, который работает, но просит пользователя выбрать приложение, чтобы открыть файл:

self.docController = [UIDocumentInteractionController alloc];

//leaves only the file name
NSString *bookFile = @"my-book.pdf";

NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex: 0];

NSString* filePath = [documentsDirectory stringByAppendingPathComponent: bookFile];

// Using the Book path
self.docController = [UIDocumentInteractionController interactionControllerWithURL:[NSURL fileURLWithPath:filePath]];

// setting the delegate
_docController.delegate = self;

// open the menu only if we find a valid application that can 
// open the file
BOOL isValid = [self.docController presentOpenInMenuFromRect:CGRectZero inView:self.view animated:YES];

Я хочу, чтобы он открывался прямо на iBooks, не спрашивая пользователя об этом.

Какие-нибудь советы?

Ответы на вопрос(1)

Ваш ответ на вопрос