Override a View Action with Both a Visualforce Page and a Lightning Page

Previously, you couldn’t have a Lightning Page action override and a Visualforce page or s-control action override set at the same time for the View action on an object. Instead, you had to remove one override before you could set the other. Now you can have your cake and eat it, too.
Available in: Enterprise, Performance, Unlimited, and Developer Editions

Visualforce overrides also available in: Contact Manager, Group, and Professional Editions

You can have both a Visualforce or s-control override and a Lightning Page override set for the View action at the same time on the same object. In Lightning Experience, the Lightning Page override displays. In Salesforce Classic, the Visualforce or s-control override displays.

If you have the View action overridden with a Visualforce page in Salesforce Classic, the Setup menu on that object record page in Lightning Experience displays the Edit Page option. Selecting Edit Page in Lightning Experience on an object page that’s overridden with a Visualforce page in Salesforce Classic lets you create a custom Lightning Experience record page for that object in the Lightning App Builder.