We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d94369 commit 88d3322Copy full SHA for 88d3322
TONavigationBar/TONavigationBar.m
@@ -45,6 +45,16 @@ @implementation TONavigationBar
45
46
#pragma mark - View Creation -
47
48
+- (instancetype)initWithCoder:(NSCoder *)coder
49
+{
50
+ if (self = [super initWithCoder:coder]) {
51
+ _backgroundView = [[UIVisualEffectView alloc] initWithEffect:nil];
52
+ _separatorView = [[UIView alloc] initWithFrame:CGRectZero];
53
+ _separatorHeight = 1.0f / [UIScreen mainScreen].scale;
54
+ }
55
+ return self;
56
+}
57
+
58
- (instancetype)initWithFrame:(CGRect)frame
59
{
60
if (self = [super initWithFrame:frame]) {
0 commit comments