我应该以编程方式为照片装饰应用程序加载uiimage吗?

时间:2011-11-27 18:35:38

标签: ios uiimageview uiimage

我想制作一个照片装饰贴纸应用程序,但是我想知道如何编写代码来将额外的贴纸加载到uiimageview中?我应该编写if语句,以便以编程方式自动生成吗?

- (void)handleDoubleTapFrom:(UITapGestureRecognizer *)gestureRecognizer
{
if (gestureRecognizer.state == UIGestureRecognizerStateEnded) {
    stickerEditorViewController = [[stickerEditorViewController alloc] initWithNibName:@"stickerEditorViewController" bundle:nil];
    stickerEditorViewController.delegate = self;

    [self presentModalViewController:stickerEditorViewController animated:YES];
    stickerEditorViewController.parentPreviewImageView.image = pickedSticker;
    }
}

0 个答案:

没有答案