2010-07-15 118 views

回答

0

確保您在右側的UIDocumentInteractionController上調用dimissMenuAnimated:。也許發佈一些代碼,如果你仍然無法弄清楚。

+0

如果我說,這樣做: [docController presentOpenInMenuFromRect:CGRectZero inView:self.view animated:YES] [docController dismissMenuAnimated:YES]; //似乎沒有做任何事情... 沒有任何反應。 – 2010-07-15 20:18:31

+0

docController = [[UIDocumentInteractionController interactionControllerWithURL:theURL] retain]; \t docController.delegate = self; \t [docController presentOpenInMenuFromRect:CGRectZero inView:self.view animated:YES]; \t [docController dismissMenuAnimated:YES]; //似乎沒有做任何事情...... 這就是代碼。 – 2010-07-15 20:21:20

+0

它適合你嗎? – 2010-07-16 12:26:40