0

UIDocumentInteraction コントローラーまたは UIActivityViewController を使用して wechat でテキストを共有するにはどうすればよいですか? 私はこれを使用していますが、成功していません:

UIDocumentInteraction *docController = [UIDocumentInteractionController interactControllerWithURL:fileURL]; self.docController.delegate = 自己;

docController.UTI = @"公開テキスト";

    NSString * msg = @"Hello WEChat";
    NSString * urlWhats = [NSString stringWithFormat:@"%@",msg];
    //controller.UTI = urlWhats;

    docController.annotation = [NSDictionary dictionaryWithObject:@"This is testing" forKey:@"Public Text"];
4

0 に答える 0