Closed snopein closed 7 years ago
As of now, apparently, the only way that worked for me in Ionic 2 was to use the app config as explained here: https://ionicframework.com/docs/api/config/Config/ For example, to force 'iOS' look and feel when not on a mobile platform (which defaults to 'core'):
IonicModule.forRoot(MyApp, {
platforms: {
core: { mode: 'ios'},
},
})
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
in ionic1 i use
setPlatform('ios')
to set platform so how to set platform in ionic2 /-------------------------------------------------------------------- now!!! i should know how to do app/app.tsionicBootstrap(AppName, [], {mode: 'ios'});