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 protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]