iOS PW Toasts
In-app toasts are a simple type of rich media.
- 1.Create your Rich Media.
- 2.Open the file pushwoosh.json and add the key/value pair: "presentationStyleKey": ''centerbox"
- 3.pushwoosh.json with key/value "presentationStyleKey": ""
We support three orientations: centerbox, topbanner, and bottombanner.
- 3.Upload your rich media to the control panel.
Done!
Top
Bottom
Center

Top Banner


By default, the top and bottom banners support swipe gestures. To close the top banner, swipe up, and to close the bottom banner, swipe down.
Additionally, you can close the in-app toast automatically after a specific period of time using the following method.
Set this method after Pushwoosh initialization
Swift
PWRichMediaManager.shared().closeToastView(after: 3.0)
That's it!
Last modified 1mo ago