【发布时间】:2012-05-01 23:39:30
【问题描述】:
我正在尝试使用我的 appDelegate 中的 NSString 为我的应用程序中的 twitter 消息应该说的内容设置初始文本。在此处查看代码:
NSString *tweet;
tweet=[MyWebFunction tweet:appDelegate.stadium_id];
if([deviceType hasPrefix:@"5."]){
// Create the view controller
TWTweetComposeViewController *twitter = [[TWTweetComposeViewController alloc] init];
[twitter setInitialText:@"@%",tweet];
问题是,twitter setInitialText 是否有错误,方法调用的参数太多,预期为 1,有 2。?!?!?
非常感谢任何帮助。 :)
【问题讨论】:
标签: objective-c iphone xcode compiler-errors arguments