Guidelines and Best Practices

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.

Note

Note

Visualforce pages and custom iframes aren’t supported in Lightning Experience on iPad Safari.

In this chapter, you’ll learn best practices for how to: