Force the IOS style on the web only


I would like to know how with IONIC 4, I can force the style of IOS on the web only. On IOS the style remains IOS and on Android remains the Android style.

thank you,

import { IonicModule } from '@ionic/angular';

  imports: [
      rippleEffect: false,
      mode: 'ios'

But the IOS style will be applied also on Android. I just want to have the IOS style on the WEB version.

Thank you

In that case do it inline and use the method to verify if it’s on iOS and then implement mode for the Config class.

import {Platform, Config} from '@ionic/angular'

  selector: 'app',
  template: '<div>hello world</div>'
export myclass{
constructor(public config: Config, public platform: Platform){
      this.config.set('mode', 'ios')

Config.set() method is deprecated (#19104). :confused: