博客> MCPickerView
MCPickerView
2017-11-20 22:09 评论:0 阅读:201 iOS_ming
ios MCPickerView

MCPickerView picker = [MCPickerView mcDefaultMCPickViewTitle:@"请选择" PickViewStyle:MCPickerViewStateNormal]; [picker mcReturnSelendData:^(UIPickerView mcPicker, NSInteger component, NSInteger row, NSDictionary *mcData){ if (btn == 4) { if (component == 0){ [picker mcSetArrayComponent:1 showArray:cityDict[@"address"][row][@"sub"]]; [picker mcSetArrayComponent:2 showArray:cityDict[@"address"][row][@"sub"][0][@"sub"]]; }else if (component == 1){ [picker mcSetArrayComponent:2 showArray:cityDict[@"address"][row][@"sub"][0][@"sub"]]; } } }];

收藏
0
sina weixin mail 回到顶部