Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 883 Bytes


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兜兜友 (, which is available download at

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];


Contrat me