- (void) Settitle: (NSString *) title forstate: (uicontrolstate) state;//Set Title
- (void) Settitlecolor: (Uicolor *) color forstate: (uicontrolstate) state;//Set the title color
- (void) Settitleshadowcolor: (Uicolor *) color forstate: (uicontrolstate) state;//Set Caption Shadow
- (void) SetImage: (UIImage *) image forstate: (uicontrolstate) state;//Set up a picture
- (void) SetBackgroundImage: (UIImage *) image forstate: (uicontrolstate) state;//Set Picture backgroundUIButton*button = [UIButtonButtonwithtype:Uibuttontyperoundedrect]; button.Frame=CGRectMake(100,150,60,40);Set button Position Size
[Button settitle:@ "Normal" forstate:uicontrolstatenormal]; Set the title of the button under General
[ButtonSettitle:@ "Highlight"Forstate:uicontrolstatehighlighted];Set the caption in the highlighted state
[ButtonAddTarget:SelfAction:@selector(didbuttonclicked)forControlEvents:UIControlEventTouchUpInside];/ /Set the button's Click event
[Self.ViewAddsubview: Button];//appear on the page
iOS control UIButton