After updating to Ionic 3.1.1 toasts stopped working on IOS. Still working fine on Android though. Has anyone faced the same issue?
Here’s my code:
this.showInfoToast(`Some toast text here`);
showInfoToast(message: string) {
let icon = '\u2714 ';
let toast = this.toastCtrl.create({
message: icon + message,
duration: 2000,
position: "top",
cssClass: "cartAddMessage"
});
toast.present();
}
And CSS:
.cartAddMessage {
.toast-top{
border-radius: 0;
text-align: center;
width: 100%;
font-size: 24px;
background-color: rgba(91, 224, 137, 0.9);
right: 0;
left: 0;
}