|
|
@@ -1,3 +1,7 @@ |
|
|
|
@interface CSTeachableMomentsContainerView { } |
|
|
|
@property (nonatomic,retain) UIView * controlCenterGrabberView; |
|
|
|
@end |
|
|
|
|
|
|
|
%hook UIStatusBar_Modern |
|
|
|
-(void)setAlpha:(CGFloat)arg1 { |
|
|
|
%orig(0.0); // makes status bar transparent on lock screen |
|
|
@@ -5,8 +9,9 @@ |
|
|
|
|
|
|
|
%end |
|
|
|
|
|
|
|
%hook SBDashBoardTeachableMomentsContainerView |
|
|
|
-(void)_addControlCenterTutors { |
|
|
|
// Nothing here to prevent the cc grabber from showing |
|
|
|
%hook CSTeachableMomentsContainerView |
|
|
|
- (void)layoutSubviews { |
|
|
|
[self.controlCenterGrabberView setHidden:YES]; |
|
|
|
return %orig; |
|
|
|
} |
|
|
|
%end |
|
|
|
%end |