Question: The pop-up type thing (when you press the share button) shown in this picture: ![](https://sharechair.files.wordpress.com/2013/09/photo-skitch-document-5.png)

How can I make this in XCode?

EDIT: Sorry this wasn't clear, but I mean the actual container that appears when you press share, ignore the arrow

Answer: 
The entire container for all of these buttons is a `UIPopoverController`, but that single button, or that type of popover, is the `UIActivityViewController`. You can show the default one, which is context aware, and you can also create your own `UIActivity` subclass to perform custom activities.
It is UIPopoverController
[Reference](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB4QFjAA&url=https%3A%2F%2Fdeveloper.apple.com%2Flibrary%2Fios%2Fdocumentation%2Fuikit%2Freference%2FUIPopoverController_class%2FReference%2FReference.html&ei=ynG0U8HwM-jR7AbQ9YCgCQ&usg=AFQjCNG5OoSkJjrx_o8bSNqyOU-wszBoiA&sig2=SFa-0MrnjCCWYg6TzQnEBQ&bvm=bv.70138588,d.ZGU)