Not working

Discussion in 'iOS Development' started by startrees, Jul 31, 2010.

  1. startrees

    startrees Member

    Joined:
    Nov 29, 2008
    Messages:
    223
    Likes Received:
    0
    Device:
    iPad 2 (White)
    Ok so I was trying to make a google app for no reason just cuz I was bored and its good practice heres my code

    when you click the button the NSLog shows:

    It should show:

    why does it do this THANK FOR THE HELP
  2. Freerunnering

    Freerunnering Member

    Joined:
    Sep 1, 2009
    Messages:
    296
    Likes Received:
    0
    Device:
    4G iPod touch
    NO clue if it makes a difference but i always use %d ??
    Also put a space after the ,??

    I've no clue if those 2 make a difference or not which i highly doubt but i can't see any other possible things?
  3. NolesFans

    NolesFans New Member

    Joined:
    Sep 23, 2008
    Messages:
    404
    Likes Received:
    0
    Device:
    iPod touch
    [OBJC][NSString stringWithFormat

    Please Register or Log in to view images

    "http://www.google.com/search?&rls=en&q=%@", randomString];[/OBJC]

Share This Page