Any of those help I want to add Toolbar on the upperside of PickerView and want to add one BarButton on the Toolbar Dynamically and on the click event of that button i want to dismiss the Picker as well as toolbar so please help me in this task... in Advance.. , You can create the UIToolBar and its buttons this way -
To fix the issue you can do Your add selector has a colon at the end which means it is trying to use an add method with a parameter but your add method does not expect a parameter object. You need to remove the colon from your selector by changing your Bar Button Item allocation to this:
UIPickerView BarButton Text Color is not change but when click on button then the color is change in Objective-C
By : user2335558
Date : March 29 2020, 07:55 AM
I hope this helps . I know this question was asked 10 months ago. But today I still had this issue. I tried changing tint color and I have no idea why it is not working. After spending hours, I finally decided to create a UIView on UIToolbar and then add a UIButton on it. It worked for me. I hope it might help someone in future.