Closed appzer closed 8 years ago
Hello,
i have modified the sticker tool to insert submenus.
From there i also want to access the camera or library:
- (void)tappedStickerPanel:(UITapGestureRecognizer*)sender { UIView *view = sender.view; NSString *SubMenuName = view.userInfo[@"filePath"]; //NSLog(@"%@",SubMenuName); if(SubMenuName){ if([SubMenuName isEqualToString:@"001-Device.png"]){ // image from device or camera NSLog(@"Image from Device"); } else { NSArray* SubMenuNameArray = [SubMenuName componentsSeparatedByString: @"."]; NSString* SubMenuName = [SubMenuNameArray objectAtIndex: 0]; _StickerType = SubMenuName; [self setStickerSubMenu]; } } }
How i can load a image from camera or photo library (NSLog(@"Image from Device");)
Thanks Kevin
What have you tried?
Hello,
i have modified the sticker tool to insert submenus.
From there i also want to access the camera or library:
How i can load a image from camera or photo library (NSLog(@"Image from Device");)
Thanks Kevin