Closed jtomasrl closed 10 years ago
The blue current selector image is not being displayed on iOS6, on iOS7 everything works
UIColor *colorbg = bgColor; NSDictionary *options; // iOS7 if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) { options = @{MMbackgroundColor: colorbg, MMtextColor: [UIColor whiteColor], MMtoolbarColor: [UIColor grayColor], MMbuttonColor: [UIColor blackColor], MMselectedObject: categoriaActual }; // iOS6 } else { options = @{MMbackgroundColor: colorbg, MMtextColor: [UIColor blackColor], MMtoolbarColor: [UIColor blackColor], MMbuttonColor: [UIColor blackColor], MMselectedObject: categoriaActual }; } [MMPickerView showPickerViewInView:self.view withStrings:self.categorias withOptions:options completion:^(NSString *selectedString){ self.categoriaActual = selectedString;} doneCompletionBlock:^{ //NSLog(@"doneCompletion"); [self actualizarCategoria:self.categoriaActual]; }];
I just fixed it, documentation need a serious update
MMshowsSelectionIndicator: @true
The blue current selector image is not being displayed on iOS6, on iOS7 everything works