Search engine

Discussion in 'iOS Programming' started by ahossny, Nov 27, 2013.

  1. ahossny macrumors newbie

    Joined:
    Nov 27, 2013
    #1
    Im using Xcode to create an app. I need help on how to place a google search bar in the app. I used text for the tittle google and a search bar to write what you want to search but i dont know what codes to put in order when someone searches something it takes him to safari and opens his search. Any help?
     
  2. waterskier2007 macrumors 68000

    waterskier2007

    Joined:
    Jun 19, 2007
    Location:
    White Lake, MI
    #2
    Check out the openURL: method of UIApplication here: UIApplication

    You would have to format the search to use googles search syntax I assume
     

Share This Page