Results 1 to 2 of 2
  1. #1
    ViewController issue.... newbie sorry ;-)
    Hi Guys just started my first project and I can't get it to work properly

    Its a keyword search for my website

    #import "ViewController.h"
    @interface ViewController ()
    @implementation ViewController
    - (void)viewDidLoad {
        [super viewDidLoad];
        NSString *webSite = @"";
        NSURL *url = [NSURL URLWithString:webSite];
        NSURLRequest *request = [NSURLRequest requestWithURL:url];
        [webPage loadRequest:request];
    -(IBAction)goToWebSite:(id)sender {
        NSString *webSite = @"",addressBar.text];  
        [webPage loadRequest:request];
    - (void)didReceiveMemoryWarning {
        [super didReceiveMemoryWarning];
        // Dispose of any resources that can be recreated.
    The app loads so the first part is working but after a its need to fire the submit goto,addressBar.text]

    it loads my website and after entering a keyword it should go to

    I think i,m close..... but not close enough... plz help me out

  2. #2
    ViewController issue.... newbie sorry ;-)
    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Waiting for a mate . . .
    Your Mac's Specs
    21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
    Rep Power
    You might want to go over to Stack OverFlow and see if you have better luck there. When I was doing iOS Dev, Stack Overflow was a godsend, and always got the answer I was looking for.
    HTH some, sorry couldn't be more help.
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to from viewController to NavigationController?
    By fabiohenrique in forum iOS Development
    Replies: 0
    Last Post: 07-14-2013, 08:38 AM
  2. Need Suggestions Naming ViewController
    By Loon3y in forum iOS Development
    Replies: 0
    Last Post: 12-03-2012, 07:59 AM
  3. Replies: 7
    Last Post: 05-20-2012, 04:59 AM
  4. How can I call another viewController through an event?
    By lftapajos in forum iOS Development
    Replies: 0
    Last Post: 02-01-2012, 10:26 AM
  5. Replies: 2
    Last Post: 11-14-2011, 07:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts