In app development, there are times when the iOS and Android styles need to be set separately. This increases the amount of code and is particularly cumbersome. This can be forced to set the Android style to use iOS style.
The operation method is: in the root module inside namely app.module.ts inside set
Import {ngmodule, ErrorHandler} from ' @angular/core '; Import {Browsermodule}
from ' @angular/platform-browser '; Import {Ionicapp, ionicmodule, Ionicerrorhandler}
from ' ionic-angular '; Import {MYAPP}
from './app.component '; Import {StatusBar}
from ' @ionic-native/status-bar '; Import {SplashScreen}
from ' @ionic-native/splash-screen '; @NgModule ({declarations: [MYAPP], imports: [Browsermodule, Ionicmodule.forroot (myapp,{backbut Tontext: ' Back ', Iconmode: ' iOS ',//Android icon enforces the use of iOS icon and style mode: ' iOS ',//style forced to use iOS style}], bootstrap: [Ionicapp ], entrycomponents: [MyApp], providers: [StatusBar, SplashScreen, {provide:errorhandler, Useclas S:ionicerrorhandler}]}) Export class Appmodule {}