'Flappy Bird' and other simple games can be played in macOS push notifications

Posted:
in macOS
In a short video posted to Twitter, an iOS engineer has shown that it's possible to play "Flappy Bird" directly within a macOS push notification.




Neil Sardesai posted a short video to Twitter showing a macOS notification that contained a playable version of the infamous "Flappy Bird."

Did you know you can put a whole game inside of a push notification pic.twitter.com/LlMx2AjvHH

-- Neil Sardesai (@neilsardesai)


"The UserNotificationsUI framework was added to macOS in Big Sur," he said in a follow-up Tweet. "But for some reason there's no Xcode template for Notification Content Extensions on macOS. So you have to make one for iOS and then change all your UI's to NS's."

Sardesai's Twitter account plays host to a number of other interesting macOS tricks, too. This includes a video that shows him manipulating hexagonal windows within macOS and one where he plays The Google Chrome Dinosaur Game in the macOS menu bar.



The "Flappy Bird" notification game isn't available to the public as of right now. It still serves to show that there are plenty of creative things that developers can do with macOS.

Comments

  • Reply 1 of 1
    crowleycrowley Posts: 10,453member
    Pretty cool. I wish more developers would make use of notification functionality, though it seems like Apple isn’t exactly helping on macOS. 
    edited April 2021
Sign In or Register to comment.