Reputation: 14142
I am using Cordova 5 for a mobile app - I have a template that needs some text only showing if the app is run on a iOS device
What is the best way to do this with a frame?
Upvotes: 1
Views: 473
Reputation: 5064
see the cordova plugin cordova-plugin-device or it's adaptation on ngCordova : http://ngcordova.com/docs/plugins/device/
You can is with ngCordova device installed the following function
if (ionic.Platform.isIOS())
Upvotes: 1