ing*_*.am 3 iphone objective-c uipickerview uiimageview
我目前有一个UIPicker,我使用以下方法加载每行的图像:
- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view
Run Code Online (Sandbox Code Playgroud)
与使用UIPicker行中的文本的正常行为不同,在使用图像时,我在图像上获得背景选择颜色(蓝色)并且想知道是否有办法更改此颜色甚至取消它(可能将颜色设置为clearColor) .我已经尝试在imageView上使用highlightImage我正在返回,但这不起作用.
谢谢
小智 7
您是否尝试通过执行以关闭选择栏?
pickerView.showsSelectionIndicator = NO;
Run Code Online (Sandbox Code Playgroud)