@dmatthams wrote:
Hello all, I’m trying to get the new style of iOS modal popup shown in the Ionic 5 announcement (https://ionicframework.com/blog/announcing-ionic-5/) with the pseudo 3d effect.
I have swipeToClose set to true, as well as defining a presentingElement, but still get the old-style modal on iOS.
async presentModal() { const presentingElement = await this.modalController.getTop(); const modal = await this.modalController.create({ component: ModalPage, swipeToClose: true, presentingElement: presentingElement }); return await modal.present(); }
What am I missing?
Posts: 1
Participants: 1