The UIAPPicker is simple way to show custom UIPicker in selected view without using UIActionSheet.
This project support installations with CocoaPods
platform :ios, '6.1'
pod "UIAPPicker"@property (strong, nonatomic) UIAPPicker *apPicker;
- (UIAPPicker *)apPicker
{
if (!_apPicker) {
_apPicker = [UIAPPicker pickerForView:self.view delegate:self];
}
return _apPicker;
}[self.apPicker show:@[@"Moscow", @"New York", @"Paris", @"Berlin", @"Ankara"] withSelectedRow:0];@protocol UIAPPickerDelegate
- (void)pickerDidCancel:(UIAPPicker *)anPicker;
- (void)picker:(UIAPPicker *)anPicker didSelectItem:(id)anItem;
@endUIAPPicker is available under the MIT license. See the LICENSE file for more info.