You specify where the popover appears by specifying the proper location in the presentOpenInMenuFromRect:inView:animated:
method. Right now you specify CGRectZero
. Pass in the proper CGRect
that indicates where you want it to appear.
You can't force a specific app. Many users will have several apps that can open the given file. Let the user choose where it is to go.