Image Picker From Library IOS

Drag ImageView to storyboard and reference it to ViewController with name "imageView" Copy a code below -(void) registerTapOnImageView: (BOOL) enable{     if(enable == YES){         UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapOnImageView)];         singleTap.numberOfTapsRequired = 1;         [_imageView setUserInteractionEnabled:YES];         [_imageView addGestureRecognizer:singleTap]; … Đọc tiếp Image Picker From Library IOS

Advertisements