ユーザーがアプリのUIWebViewで画像を長押ししたときに、[画像の保存とコピー]を有効にしたいのですが。これを可能にするプロパティはありますか、それともこれを実現するためにいくつかの特別なメソッドを作成する必要がありますか?
読んでくれてありがとう!
UIImage * downloadImage = [[UIImage alloc] initWithContentsOfFile:path];
    UIImageWriteToSavedPhotosAlbum(downloadImage,nil, nil, nil);
    [downloadImage release];
    UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"Saved" message:@"Wallpaper saved to your Gallery." delegate:nil cancelButtonTitle:@"Dismiss" otherButtonTitles:nil, nil];
    [alert show];
    [alert release];
Add this whole code to your long press method, it will save your image in gallery.
UILongPressGestureRecognizer インスタンスを作成してボタンにアタッチすることから始めることができます。
 UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPress:)];
 [self.button addGestureRecognizer:longPress];
 [longPress release];
そして、ジェスチャーを処理するメソッドを実装します
 - (void)longPress:(UILongPressGestureRecognizer*)gesture {
if ( gesture.state == UIGestureRecognizerStateEnded ) {
     NSLog(@"Long Press");
 //do something
   }
 }