Joined March 2012
·

Htain Lin Shwe

iOS Developer at 2c2p
iOS Developer
2c2p
·
Singapore
·
·
·

Posted to RGB to UIColor over 1 year ago

@mrnickbarker , thank you.

@amitibcmobile , tint color can change but it's not flat color.

@zerho , use UIButton

UIButton* btn = [UIButton buttonWithType:UIButtonTypeCustom];
[btn setImage:[[self class] defaultImage] forState:UIControlStateNormal];

[btn setFrame:CGRectMake(0, 0, 22, 22)];
[btn addTarget:self action:@selector(toggleLeftPanel:) forControlEvents:UIControlEventTouchUpInside];

UIBarButtonItem* barBtn = [[UIBarButtonItem alloc] initWithCustomView:btn];
self.navigationItem.leftBarButtonItem = barBtn;
Achievements
286 Karma
6,863 Total ProTip Views