Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8860027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:11:23+00:00 2026-06-14T15:11:23+00:00

I am developing a wrapper application for a site. Basically, it opens mobile version

  • 0

I am developing a wrapper application for a site. Basically, it opens mobile version of a site in UIWebView. Some links on the site point to PDFs.

When the same site is opened in Safari and a link to PDF is tapped a nice black stripe with “Open in iBooks” is shown over the PDF. Like on the picture below:

enter image description here

How could I implement the same looking stripe in my app?

EDIT:

I am not asking about how to create a black button on translucent background.

I am interested in reproducing the whole workflow:

  • User navigates to a PDF
  • A stripe (view) popups if and only if there is iBooks app (or any other PDF viewer) installed.
  • Tapping a button in popup transfers document to that app and the app opens.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:11:24+00:00Added an answer on June 14, 2026 at 3:11 pm

    To check if iBooks is installed you can call:

    BOOL iBooksInstalled = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"ibooks://"]];
    

    You can present a list of of applications (why limit to iBooks only? 😉 ) using:

    //use the UIDocInteractionController API to get list of devices that support the file type
    NSURL *pdfURL = // your pdf link.
    UIDocumentInteractionController *docController = [UIDocumentInteractionController interactionControllerWithURL:pdfURL];
    
    //present a drop down list of the apps that support the file type, click an item in the list will open that app while passing in the file.
     [docController presentOpenInMenuFromRect:CGRectZero inView:self.view animated:YES];
    

    Note that this doesn’t work on the iOS Simulator unless you made an app that reads PDFs!

    If you really want to only give the option to let the PDF to be opened in iBooks, you might want to try appending the file’s URL to the @”ibooks://” scheme or the one of the other two schemes that iBooks provide (which work for books in the iBook Store but I’m not sure if it also works for other URLs) which are @”itms-books://” and @”itms-bookss://”. You can then do something like:

    NSURL *iBooksURLScheme = [NSURL URLWithString:@"ibooks://"];
    NSString *fileURLString = // your file URL as *string*
    NSURL *finalURL = [iBooksURLScheme URLByAppendingPathComponent:fileURLString];
    
    [[UIApplication sharedApplication] openURL:finalURL];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a mobile application using Appcelerator and am including some configuration functions
I'm developing an AS 3.0 wrapper to add some extra stuff that has to
I am developing an application using titanium mobile. On the simulator, the app works
I'm developing an IM application using Smack library, and I'm facing some problems. I'd
I'm developing a simple JSF application, but I'm stuck again... Basically, I have a
I am developing a C# application. Since I have some algorithms for least-squares fit
I am developing an HTML5 web application for mobile devices and ran into a
I am developing some convenience wrappers around another software package that defines a bash
Developing a project of mine I realize I have a need for some level
Developing a C# .NET 2.0 WinForm Application. Need the application to close and restart

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.