Visualforce pages aren’t automatically mobile friendly in the Salesforce mobile app. The
standard Salesforce header and sidebar are disabled in favor of the mobile controls, and a
JavaScript API is available to make it possible for Visualforce pages to connect with mobile
navigation management. In other respects the pages remain as they are and, although usable within
the app, desktop focused Visualforce pages will feel desktop focused.
Fortunately, making your apps look great in the Salesforce mobile app is straightforward. You
can either revise your code so that your pages work in both the full Salesforce site and the
mobile app, or you can create mobile-specific pages.
In this chapter, you’ll learn best practices for how to:
- Share Visualforce pages between mobile and desktop.
- Exclude Visualforce from mobile or desktop.
- Choose the best architecture for your Visualforce pages.
- Choose an effective page layout for your pages.
- Manage user input and navigation.
- Use Visualforce pages as custom actions.
- Tune your pages for the best performance.