diff --git a/MTStatusBarOverlay.m b/MTStatusBarOverlay.m index 6c5d209..7924e9e 100755 --- a/MTStatusBarOverlay.m +++ b/MTStatusBarOverlay.m @@ -279,8 +279,8 @@ @implementation MTStatusBarOverlay #pragma mark Lifecycle //////////////////////////////////////////////////////////////////////// -- (id)initWithFrame:(CGRect)frame { - if ((self = [super initWithFrame:frame])) { +- (id)init { + if ((self = [super init])) { CGRect statusBarFrame = [UIApplication sharedApplication].statusBarFrame; // only use height of 20px even is status bar is doubled