How to hide floating notifications?

You can swipe up on a floating notification to temporarily hide upcoming ones.
1. Go to Settings > Notifications & Control center.
2. Tap Floating notifications in NOTIFICATIONS.
3. Tap  beside an App to enable Floating notifications.
4. Tap Hide temporarily to set hide time for floating notifications.