#import "TouchImageView.h" @interface ViewController : UIViewController @property (strong, nonatomic) TouchImageView *imageView; @end static NSString * const kDetail = @"detail"; @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; //タッチできる画像を配置する imageView = [[TouchImageView alloc] initWithImage:[UIImage imageNamed:@"sasamisan"]]; imageView.userInteractionEnabled = YES; image