For further actions, you may consider blocking this person and/or reporting abuse
Read next
Basic SQL Question for Interview, everyone should know
Jaimin Bariya -
Hero to Zero: How Not To Manage Staff Redundancies
Bernd Wechner -
Understanding CI/CD: A Comprehensive Guide
Chandra Prakash -
#11 Next.js 15: Revolutionizing Server-Side Rendering (SSR) for Modern Applications😯🤓
code_with_sahil -
Top comments (1)
With iOS >= 10, you can show notification banner when app run foreground. To make it, you can add some line code in AppDelegate.m
//Called when a notification is delivered to a foreground app.
-(void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void ()(UNNotificationPresentationOptions options))completionHandler
{
completionHandler(UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionBadge);
}
Don't forget, import UserNotification in head:
import
Hope it work with you.