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
wpagewpage 

Cloudtunes app will not run on iPad device or iPad emulator

I can get the cloudtunes test app to work fine on an iPhone and the iPhone emulator, but if I change it to an iPad app and try to run it I get as far as the page with the "Allow" and "Deny" buttons, but the buttons aren't active, meaning pressing either one does absolutely nothing.  The last line in the log is:

 

SFOAuthCoordinator:webViewDidStartLoad: host=mydemourl.my.salesforce.com : path=/secur/frontdoor.jsp

 

If I leave it as an iPhone app and run it on an iPad emulator, it does work, but of course it is the scaled down version that only fills half the iPad screen.

 

Should we be able to use the same code to run on an iPad form factor?

cloudcodercloudcoder

make sure that you set the Main Interface (under Targets --> Summary --> iPad Deployment Info) to "MainWindow-iPad"

 

That should fix it. If it does not, I suspect you have an old version of the project. There was a bug a long time ago that I fixed which caused a similar issue.

wpagewpage

Thanks, that worked.  Can't believe I overlooked that.