Я нашел Горизонтальный UIPickerView.но этот код не работает.
(// this:) - область ошибки.
@property (retain, nonatomic)UIPickerView * myPickerView;
@property (retain, nonatomic) NSArray *pickerViewArray;
#import "ViewController.h"
@implementation ViewController
@synthesize myPickerView;
@synthesize pickerViewArray;
-(void)loadView{
// Write code to create self.view
// Then...
pickerViewArray = [[NSArray arrayWithObjects:
@"John Appleseed", @"Chris Armstrong", @"Serena Auroux",
@"Susan Bean", @"Luis Becerra", @"Kate Bell", @"Alain Briere",
nil] copy];
myPickerView = [[UIPickerView alloc] initWithFrame:CGRectZero]; //this:thread1 error
myPickerView.delegate = self;
//this: Passing "ViewController 'const_strong'to parameter of incompatible
//type'id<UIPickerViewDelegate>
.
.
.
}
Я бы хотел исправить ошибку