Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#import <UIKit/UIKit.h>
@interface JFITransparent : UIView
#import "JFITransparent.h"
@implementation JFITransparent
- (id)initWithFrame:(CGRect)frame
self = [super initWithFrame:frame];
if (self) {
// Initialization code
return self;
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
UIView *view = [super hitTest:point withEvent:event];
if (view == self) {
return nil;
return view;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.