ios6 - Still no UIDocumentInteractionController in iOS 6 -
i have followed suggestions in existing questions on topic (uidocumentinteractioncontroller doesn't work since ios6 , uidocumentinteractioncontroller no longer works in ios6), i'm still having trouble uidocumentinteractioncontroller under ios 6.
my app single uiview (myview
) implements uidocumentinteractioncontrollerdelegate
, there no view controller. in touchesbegan
, there following code:
uidocumentinteractioncontroller *dic; dic = [uidocumentinteractioncontroller interactioncontrollerwithurl:fileurl]; dic.delegate =self; [dic retain]; if([dic presentoptionsmenufromrect:cgrectzero inview:myview animated:no]) result=1;
this works fine on ios 5, list compatible apps presented, apps start when selected , load file specified in fileurl
. on ios 6, nothing happens, result
still indicates success. if options menu hidden.
could because i'm using ios sdk 4.3?
yes, because using ios sdk 4.3. after switching 6.1, works fine.
(if wonder why use old sdk in first place: computer old, can't updated beyond os x 10.6.8 while latest xcode / ios sdk requires 10.7.)
Comments
Post a Comment