iphone - How to create a frame and fill it with a segmented control? -


I want to make a frame and fill it with the block containing the control how can I do this ???

If you fill a frame with the control of the segment, then you mean the one with a specific frame If you want to add a Segment control as a subview of the second view, you can do this:

  CGFF frame = CGRactMake (X_origin, Y_Origin, Wideth, Highway); UISegmentedControl * seg = [[UISegmentedControl alloc] initWithFrame: frame]; [ViewViewToAddTheControlAdd to addSubview: SEG]; [SEG release];  

Does that help?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -