function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Amit  TrivediAmit Trivedi 

PageReference not working in mobile browser

Hello All,

I have created custom UI for sendding email which is mobile compatible I have used bootstrap to make vf page responsive, It is working fine for desktop browser but in mobile browser one functionality is not working i.e redirect to detail page, I have used PageReference for it.

 PageReference pg = new PageReference('/';        
 return pg.setRedirect(true);

Do PageReference do not support in mobile browser ? or am I missing somewhere ? Please help.

Thanks in advance.
Please check this article (
For Salesforce1 PageReference will not work.See the workaround on the article.