I have made some project When people put a keyword into UITextfield and click the button--->then my app will retrieve data from web-site database.
But I have spent so much time to find out what is wrong because it did not work look at the code here:
- (IBAction) btnClickMe_Clicked:(id)sender {
NSString *kw = s.text; // <-----THIS IS THE UITextField
NSURL *url = [NSURL URLWithString:@"http://www.xxx.com/index.php?keyword=",kw];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[iMessageLabel loadRequest:request];
}
Any one could help me i will be very happy thank you Alex