Search engine

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

  1. ahossny macrumors newbie

    Nov 27, 2013
    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


    Jun 19, 2007
    Novi, MI
    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