Skip to content

Instantly share code, notes, and snippets.

@KentarouKanno
KentarouKanno / Flip a Button
Last active October 4, 2015 03:18 — forked from huytoan/Flip a Button
flip a uibutton
BOOL isFrontViewShowing;
- (void) viewDidLoad{
[super viewDidLoad];
isFrontViewShowing = YES;
UIButton *flipBtn = [UIButton buttonWithType:UIButtonTypeRoundedRect];
flipBtn.frame = CGRectMake(100, 100, 100, 40);