Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I launch iBooks e-reader programmatically on iPad?

Tags:

ipad

Just like UIApplication.openURL.

Is there an API to launch iBooks with an ISBN?

like image 209
Sujee Maniyam Avatar asked Apr 07 '10 16:04

Sujee Maniyam


People also ask

Can you use iPad as ereader?

In the Books app , use the Reading Now and Library tabs at the bottom of the screen to see the books you're reading, the books you want to read, your book collections, and more. Reading Now: Tap to access the books and audiobooks you're currently reading.

Why can't I open my iBooks on my iPad?

When iBooks cannot be opened on your iPad or iPhone when you tap on the icon, the best chance you can solve this issue is to force restart your device. Here is how: Force restart iPad with Face ID such as iPad 2018 iPad Pro, you need to: Press and quickly release the Volume Up button.

Is iBooks author discontinued?

iBooks Author is no longer updated or available. If you've previously downloaded the app, you can still access it from your App Store purchase history. You can continue to use iBooks Author on macOS Catalina or earlier.


2 Answers

iBooks registers the itms-books: and itms-bookss: URL schemes, so you can launch iBooks programmatically, but the actual URL might not be an ISBN.

like image 83
kennytm Avatar answered Oct 20 '22 02:10

kennytm


iBooks

NSString *stringURL = @"itms-books:";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];

NSString *stringURL = @"itms-bookss:";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];
like image 43
Vijay-Apple-Dev.blogspot.com Avatar answered Oct 20 '22 02:10

Vijay-Apple-Dev.blogspot.com