共享沙盒

来源:互联网 发布:淘宝试用规则 编辑:程序博客网 时间:2024/05/17 06:45

  @property (nonatomic,strong)UIDocumentInteractionController* document;-(void)bPlayClick:(UIButton *)btn{    NSString *docu = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES) lastObject];    NSString *filePath = [docu stringByAppendingPathComponent:@"1.pcm"];    NSURL *url = [NSURL fileURLWithPath:filePath];        self.document = [UIDocumentInteractionController interactionControllerWithURL:url];    [self.document presentOptionsMenuFromRect:self.view.bounds inView:self.view animated:YES];   }



from:http://blog.csdn.net/shxwork/article/details/50579836

    

原创粉丝点击