Commit 36061b5a authored by jinzhu's avatar jinzhu

更新OCNavgationBar margin

parent d4dbb73d
...@@ -30,11 +30,13 @@ ...@@ -30,11 +30,13 @@
- (void)awakeFromNib{ - (void)awakeFromNib{
[super awakeFromNib]; [super awakeFromNib];
_buttonMargin = 20;
[self setup]; [self setup];
} }
- (void)setup{ - (void)setup{
//设置一个初始值
_buttonMargin = 20;
self.clipsToBounds = NO; self.clipsToBounds = NO;
self.backgroundColor = [UIColor whiteColor]; self.backgroundColor = [UIColor whiteColor];
[self addNavigationShadow]; [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