Links
Comment on page

iOS PW Toasts

Send in-app toasts containing Rich Media to iOS users

Starting from Pushwoosh SDK version 6.4.12, you have the ability to send in-app toasts.

In-app toasts are a simple type of rich media.
For more information on Rich Media pages, please refer to our guide.

How does it work?

  1. 1.
    Create your Rich Media.
  2. 2.
    Open the file pushwoosh.json and add the key/value pair: "presentationStyleKey": ''centerbox"
  3. 3.
    pushwoosh.json with key/value "presentationStyleKey": ""
We support three orientations: centerbox, topbanner, and bottombanner.
  1. 3.
    Upload your rich media to the control panel.
Done!

How does it look?

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!