I have been searching the net to find an answer to a problem I'm facing regarding to loading the right page layout when linking from a Visualforce page.
I have created a Visualforce page which I made available in the Salesforce1 mobile app. On this page it loads appointments for a specific department of our company. From this page I would like to link to the appointment and want it to open with the Salesforce1 layout. The problem is that I am getting the right layout on an iPhone, but as soon as I test this on an iPad, the link redirects to the normal Salesforce page.
The code used now is
Does anyone have any suggestions on how to get this to work?