【发布时间】:2011-10-20 08:41:56
【问题描述】:
如何将“stringURL”和“stringSearch”组合在一起?
- (IBAction)search:(id)sender;{
stringURL = @"http://www.websitehere.com/index.php?s=";
stringSearch = search.text;
/* Something such as:
stringURL_ = stringURL + stringSearch */
[web loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:stringURL_]]];
}
【问题讨论】:
标签: iphone objective-c xcode macos