Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Facebook iPhone app implement the pop-over window for notifications?

How does Facebook iPhone app (4.1) implement the pop-over window for notifications (see below for screenshot)? I thought this was only capable on the iPad. Is this a lookalike that they have custom built?

Screenshot of Facebook 4.1 Popover Notifications

like image 450
Ryan Avatar asked Dec 19 '11 21:12

Ryan


People also ask

Why are my notifications at the bottom of my iPhone?

Notifications are now stacked at the bottom of the display by default, instead of taking up the whole screen. Apple's reasoning? It's meant to showcase your beautiful lock screen, especially since there are several new ways to customize it with widgets, Portrait photos, and fresh designs for the clock.

How does Apple affect Facebook?

But the idea that Apple has hurt Facebook's revenue in a direct and meaningful way seems the truest: Facebook says changes Apple made that affect how ads work on iOS apps — namely, that it's now much harder for app-makers and advertisers to track user behavior — will cost it $10 billion in revenue this year.

How do I turn off tracking on Facebook IOS 14?

Under Settings, tap an app, and then tap to turn off Allow Tracking. Or go to Settings > Privacy > Tracking, and tap to turn on or off each app you'll see in the list of apps that have requested permission to track your activity.


2 Answers

Check out this library which can implement pop over menus like facebook app: https://github.com/50pixels/FPPopover

like image 110
Shaunak Avatar answered Nov 04 '22 07:11

Shaunak


I think it is far more complicated (and cleaner) than either of answers (guesses) so far. It is likely a completely separate view controller with it's own content view that is being added as a subview of the container view.

There are some libraries that so a similar thing, here is one for example: https://github.com/KJoyner/SeaGlass/wiki/SGPopoverController-Documentation http://www.facebook.com/note.php?note_id=107632999326583 https://github.com/chrismiles/CMPopTipView

like image 1
Michael Peterson Avatar answered Nov 04 '22 07:11

Michael Peterson