Created
August 28, 2015 11:52
-
-
Save dutran90/331c6211ba45515e0e54 to your computer and use it in GitHub Desktop.
UIImagePickerView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma mark - UIPickerView Datasource | |
- (int)numberOfComponentsInPickerView:(UIPickerView *)pickerView{ | |
return 1; | |
} | |
- (int)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component{ | |
return _clubNameArray.count; | |
} | |
- (NSString*)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component{ | |
return _clubNameArray[row]; | |
} | |
#pragma mark - UIPickerView Delegate | |
- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component{ | |
_clubNamePickerView.hidden = YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment