/TSLocateView

TSLocateView is city picker view.you can uses it to picker the city's name and coordinate.

Primary LanguageObjective-C

TSLocateView

TSLocateView is a city picker component. you can uses it to picker a city's name and coordinate. This component is part of the most popular social network in China, DouDouYou兜兜友 (http://ddy.me), which is available download at http://itunes.apple.com/us/app/dou-dou-you/id379405145?mt=8.

How to use

  1. import TSLocateView in your prefix file.
  2. uses the UIActionSheetDelegate to handler the event.
// create an locateView, likes the UIAlertView
TSLocateView *locateView = [[TSLocateView alloc] initWithTitle:@"定位城市" delegate:self];
[locateView showInView:self.view];

Preview

Contrat me