开发者

how to change the default color of selection bar in PickerView?

开发者 https://www.devze.com 2023-04-03 07:27 出处:网络
I have a pickerView in my selection but the client\'s requirement is the greenish color of the selction bar of pickerview but I don\'t know how to change the color of selection bar.

I have a pickerView in my selection but the client's requirement is the greenish color of the selction bar of pickerview but I don't know how to change the color of selection bar.

pls 开发者_StackOverflowhelp me. thanx in advance.


gdmorn!!!!

Try to do this ,it may be Help to you...

 UIImagePickerController *ipc = [[UIImagePickerController alloc] init];
ipc.navigationBar.barStyle = UIBarStyleBlackOpaque; // Or whatever style.
//or
ipc.navigationBar.tintColor = [UIColor whateverColor];
0

精彩评论

暂无评论...
验证码 换一张
取 消