Skip to content

Instantly share code, notes, and snippets.

@sandeeplearner
Created January 13, 2016 16:24
Show Gist options
  • Save sandeeplearner/56ef615a43b10964c1ac to your computer and use it in GitHub Desktop.
Save sandeeplearner/56ef615a43b10964c1ac to your computer and use it in GitHub Desktop.
SBCustomWindowCode
-(BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event{
if(CGRectContainsPoint(self.rootViewController.view.frame, point)){
[(SBNotificationViewController *)self.rootViewController checkIfNotificationBarTappedWithPoint:point andEvent:event];
return true;
}
else{
return false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment