• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIDocumentInteractionController preview the file will show the status bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIDocumentInteractionController preview the file will show the status bar


  • Subject: UIDocumentInteractionController preview the file will show the status bar
  • From: li shunnian <email@hidden>
  • Date: Sat, 26 Oct 2013 16:22:31 +0800

Hi all,

My app is a  full screen one. When I use UIDocumentInteractionController to preview a file, it will show the hidden status bar.

I tried to use the following code, but the status bar will show for a second then hide again.  After the quick look view dismissed, the status bar will show for a second again.

- (void)documentInteractionControllerWillBeginPreview:(UIDocumentInteractionController *)controller
{
    [[UIApplication sharedApplication] setStatusBarHidden:YES];
}

- (void)documentInteractionControllerDidEndPreview:(UIDocumentInteractionController *)controller
{
    [[UIApplication sharedApplication] setStatusBarHidden:YES];
}

Can anyone give me some advice for preventing the status bar show?

Regards,
Li Shunnian.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: operatingSystemVersionString replacement
  • Next by Date: [ANN] Receigen, App Store receipt validation made easy for OS X and iOS
  • Previous by thread: Re: Allowing users to customize keyboard shortcuts
  • Next by thread: [ANN] Receigen, App Store receipt validation made easy for OS X and iOS
  • Index(es):
    • Date
    • Thread