markdown guide

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:


Hope it work with you.

Classic DEV Post from May 6 '19

The state of GraphQL

The report about the state of GraphQL base on the partial data gathered during the annual "The State of JavaScript" survey

Better Me profile image
Software Engineer

πŸ‘‹ Hey dev.to reader.

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❀️