如何将UILabel值添加到推文/fb composer工作表的setInitialText字符串之外。
我尝试过以各种方式添加myUILabel.text,结果要么是崩溃,要么是到目前为止还没有使用过的数据参数
mySLComposerSheet = [[SLComposeViewController alloc] init];
mySLComposerSheet = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook]; ///
[mySLComposerSheet setInitialText:@"My message"]; ///can I add UI label value here?
[self presentViewController:mySLComposerSheet animated:YES completion:nil];发布于 2013-01-02 07:17:57
啊修复了它很久了,需要占位符
[mySLComposerSheet setInitialText:[NSString stringWithFormat:@"My message %@",_myUILable.text]];https://stackoverflow.com/questions/14115134
复制相似问题