uisegmentedcontrol Questions
13
I try to change font color from white to black for UISegmentedControl (for iOS 4.*)
UISegmentedControl *button = [[[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:itemTitle, nil...
Ofelia asked 27/1, 2012 at 6:32
14
Solved
We use KIF for our functional testing, and it uses the accessibility label of elements to determine where to send events. I'm currently trying to test the behaviour of a UISegmentedControl, but in ...
Bounder asked 12/1, 2012 at 11:1
8
Solved
iOS 13 introduced some changes to the UISegmentedControl including a really nice animation when switching the selected segment. However I'm noticing that it's not displaying the backgroundColor pro...
Justification asked 25/9, 2019 at 20:10
9
Solved
I am using a UISegmentedControl inside a UIToolBar as button. I can't use a normal UIButtonBarItem, because I need to set the tintColor and support iOS 4.3.
So I'm using following code:
UISegmente...
Sclerenchyma asked 19/11, 2012 at 16:19
18
Solved
A UISegmentedControl has a new appearance in iOS 13 and existing code to alter the colors of the segmented control no longer work as they did.
Prior to iOS 13 you could set the tintColor and that ...
Conjugate asked 4/6, 2019 at 2:17
12
Solved
Is it possible to change the corner radius of UISegmentedControl? I have tried the following approach which we use to change a UIView's corner radius.
self.segmentedControl.layer.cornerRadius = 15....
Reposition asked 26/4, 2014 at 23:30
3
Solved
I'm currently having problems with an iOS 13 segmented controller. I have this method in which I change the appearance of my segmented controller, it worked great until iOS 13 got out. now I the se...
Disclose asked 4/10, 2019 at 20:11
22
Solved
I noticed that when I place a white or black UIImage into a UISegmentedControl it automatically color masks it to match the tint of the segmented control. I thought this was really cool, and was wo...
Wikiup asked 7/11, 2013 at 6:26
16
Solved
How to change font size and font name of uisegmentedcontrol programmatically? I used swift.
Here is my code:
self.mysegmentedControl = UISegmentedControl(items: [
NSLocalizedString("Aaaaaa", com...
Leix asked 14/1, 2015 at 9:52
4
Solved
I have a UIToolbar with UIBarButtonItems on it. I want to add segmented control to it.
//Add UIToolbar
toolbar = [[UIToolbar alloc] initWithFrame:CGRectMake(0, 425, 320, 35)];
toolbar.barStyle =...
Lynwoodlynx asked 9/6, 2013 at 14:41
8
Solved
Is there a way to change the number of segments programmatically?
Interject asked 24/7, 2012 at 20:33
4
Solved
I have used following code to set background of UISegmentedControl.
homeSegment.setDividerImage(UIImage(named: "seperator.png"), forLeftSegmentState: UIControlState.Normal, rightSegmentState: UICo...
Escrow asked 13/2, 2015 at 10:33
6
Solved
I want to set colors for the text and background of UISegmentedControl. So I've four colors to set, the default and selected color of the text and background.
I can use tintColor and backgroundCo...
Rutharuthann asked 8/3, 2017 at 9:39
2
Solved
On iOS 12, to get a UISegmentedControl with clear border, clear divider line, everything clear was easy. All I did was this:
settingControl.tintColor = .clear
let font = myFont
let boldfont = ...
Sandberg asked 11/8, 2019 at 14:35
7
How can I make the text in one of the buttons in my UISegmentedControl span multiple lines?
Bellona asked 10/4, 2011 at 19:51
6
Solved
In my app, I use a UIPopoverController and I use the presentPopoverFromRect API. What I am doing now is just setting it to the frame of my whole UISegmentedControl. However I want to be more precis...
Kelsy asked 19/3, 2012 at 3:51
17
Can anyone please tell me how can I change the font type and size of UISegmentedControl?
Tarratarradiddle asked 17/2, 2010 at 12:5
3
Solved
How can I scale down the images used in a UISegmentedControl? I am creating the segmented control programmatically:
UISegmentedControl * segmentButton;
segmentButton = [UISegmentedControl segmente...
Gannet asked 4/2, 2011 at 9:40
5
Solved
Is there any way to reduce font size that can be fit in single segment of UISegmentedControl ?
Have tried many thing something like,
[[UILabel appearanceWhenContainedIn:[UISegmentedControl class]...
Appanage asked 22/7, 2016 at 7:6
6
Solved
I'm extremely new to iOS development and ran into some trouble while building an app for a course.
I created a segmented control and its init function (shown below) is being called in the view con...
Tubate asked 13/3, 2017 at 2:9
7
Solved
How do I switch UISegmentedControl programmatically?
Chose asked 11/3, 2011 at 13:54
7
I have four segments in my UISegmentedControl. I am trying to programmatically set the selected state of the third and fourth segments at the same time if the user has selected the first segment.
...
Bestow asked 3/5, 2014 at 23:6
4
Solved
Is it possible to make one segment of a segmented control invisible?
Dashboard asked 21/11, 2011 at 8:56
3
Solved
I'm trying to implement Segmented Control with SwiftUI. For some reason Segmented Picker does not switch between values when click on it. I went through many tutorials but cannot find any differenc...
Dam asked 26/5, 2020 at 15:30
2
I have started applying dynamic type and preferred fonts to my app. The only part of the view controller that doesn't conform is a pair of segmented controllers that stay stubbornly small when the ...
Pyelography asked 24/5, 2018 at 11:26
1 Next >
© 2022 - 2025 — McMap. All rights reserved.