//// Created by Xummer on 3/30/15.// Copyright (c) 2015 Xummer. All rights reserved.//#import "IBTUIButton.h"@implementationIBTUIButton+(id)RoundCornerBtnWithTitle:(NSString*)titlebgColor:(UIColor*)bgColor{IBTUIButton*btn=[IBTUIButtonbuttonWithType:UIButtonTypeCustom];[btnsetTitle:titleforState:UIControlStateNormal];[btnsetTitleColor:[UIColorwhiteColor]forState:UIControlStateNormal];[btnsetBackgroundImage:[UIImageimageWithColor:bgColor?:ICR_BLUE_BTN_COLOR]forState:UIControlStateNormal];