is there any way to set custom image for selected segment in UISegmentedcontrol and change the fontsize?
is there any way to set custom image for selected segment in UISegmentedcontrol and
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the below code in UIControlEventValueChanged event target
I’m adding the sample code.
Please write down the details regarding the Font Size change . Do you wish to change only the selected segment text font size or for the all segment tabs?
Anyway, this is the common way to change the segment Font size. Please make use of it as per your conditions. You can add a comment below to get any additional help.
Please note that, this is only work with iOS5+