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
Post a Comment