Commit 36061b5a authored by jinzhu's avatar jinzhu

更新OCNavgationBar margin

parent d4dbb73d
......@@ -30,11 +30,13 @@
- (void)awakeFromNib{
[super awakeFromNib];
_buttonMargin = 20;
[self setup];
}
- (void)setup{
//设置一个初始值
_buttonMargin = 20;
self.clipsToBounds = NO;
self.backgroundColor = [UIColor whiteColor];
[self addNavigationShadow];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment