iOS - Help using the Yelp API -
i'm trying create "more info on yelp" type button in app. here's documentation i've been following -> yelp api
the problem i'm having example.
if ([self isyelpinstalled]) { // call yelp app [[uiapplication sharedapplication] openurl:[nsurl urlwithstring:@"yelp5.3:///biz/the-sentinel-san-francisco"]]; } else { // use yelp touch site [[uiapplication sharedapplication] openurl:[nsurl urlwithstring:@"http://yelp.com/biz/the-sentinel-san-francisco"]]; }
this opens yelp app on device doesn't search anything. however, website version works , takes me correct business. api wrong or doing wrong? thanks!
Comments
Post a Comment