import "Vie*
wController.h"~~*~~** @interface ViewController () @property (weak, nonatomic) IBOutlet UILabellabel;
@end
@implementation ViewController
(void)viewDidLoad {
}
(IBAction)btnClick {
UISwitch *swh=[[UISwitch alloc]init];
UIStepper *sp=[[UIStepper alloc]init];
[self.view addSubview:sp];
[self.view addSubview:swh];
UISlider *sl=[[UISlider alloc]init];
[self.view insertSubview:sl aboveSubview:swh];
}
@end