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

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