ios - How would I manually set the arrow direction of an options menu presented by a UIDocumentInteractionController? -


my app includes options menu sharing, presented when uitableviewcell long pressed. if uitableviewcell high on screen, arrow options menu below uitableviewcell. there way set arrow direction manually?

the code use show options menu is:

self.documentinteractioncontroller = uidocumentinteractioncontroller(url: fileshareurl)  self.documentinteractioncontroller.delegate = self  self.documentinteractioncontroller.uti = "public.xml"  self.documentinteractioncontroller.presentoptionsmenufromrect(self.view.frame, inview: self.view, animated: true) 

where documentinteractioncontroller defined class variable var documentinteractioncontroller: uidocumentinteractioncontroller!, , fileshareurl nsurl pointing file share.

i figured out problem wasn't location of uitableviewcell, presenting options menu from. code presenting options menu top of screen, not cell was.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -