O'Reilly logo

The Core iOS Developer’s Cookbook, Fifth Edition by Rich Wardwell, Erica Sadun

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Checking for the Open Menu

When you use a document interaction controller, the Options menu almost always provides valid menu choices, especially if you implement the Quick Look callbacks. You may or may not, however, have any “Open in...” options to work with. Those options depend on the file data you provide to the controller and the applications users install on their devices.

A no-open-options scenario happens when there are no applications installed on a device that support the file type you are working with. This may be caused by an obscure file type, but more often it occurs because the user has not yet purchased and installed a relevant application. This is a common occurrence when using the iOS simulator.

Always check whether to offer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required