Hi Guys just started my first project and I can't get it to work properly
Its a keyword search for my website
The app loads so the first part is working but after a its need to fire the submit goto
[dead link removed]
it loads my website and after entering a keyword it should go to
[dead link removed]
I think i,m close..... but not close enough... plz help me out
Its a keyword search for my website
Code:
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
NSString *webSite = @"http://www.mydomain.eu/";
NSURL *url = [NSURL URLWithString:webSite];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[webPage loadRequest:request];
}
-(IBAction)goToWebSite:(id)sender {
NSString *webSite = @""http://www.mydomain.eu/m/?keyword=,addressBar.text];
[webPage loadRequest:request];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
The app loads so the first part is working but after a its need to fire the submit goto
[dead link removed]
it loads my website and after entering a keyword it should go to
[dead link removed]
I think i,m close..... but not close enough... plz help me out