¡@

Home 

2014/10/15 ¤U¤È 10:04:31

iphone Programming Glossary: barcontainerview

Implement animation in UIButton

http://stackoverflow.com/questions/1679011/implement-animation-in-uibutton

file code.... Container views used for flipping the bars to show whose turn it is UIButton btn1 UIButton btn2 UIView BarContainerView .M file code.... void viewWillAppear BOOL animated BarContainerView UIView alloc initWithFrame CGRectMake 20 30 103 150.. turn it is UIButton btn1 UIButton btn2 UIView BarContainerView .M file code.... void viewWillAppear BOOL animated BarContainerView UIView alloc initWithFrame CGRectMake 20 30 103 150 btn1 UIButton buttonWithType UIButtonTypeRoundedRect retain btn1 addTarget.. setBackgroundImage UIImage imageNamed @ image2.png forState UIControlStateNormal btn2.frame CGRectMake 0 0 103 150 BarContainerView addSubview btn1 self.view addSubview BarContainerView self.view bringSubviewToFront BarContainerView void btn1_click UIView..