Conforms to NSObject
Declared in TWTRTweetViewDelegate.h

Overview

Delegate for TWTRTweetView to receive updates on the user interacting with this particular Tweet view.

// Create the tweet view
TWTRTweetView *tweetView = [[TWTRTweetView alloc] initWithTweet:tweet];
// Set the delegate
tweetView.delegate = self;

Instance Methods

tweetView:didTapImage:withURL:

The tweet view image was tapped.

- (void)tweetView:(TWTRTweetView *)tweetView didTapImage:(UIImage *)image withURL:(NSURL *)imageURL

Parameters

tweetView

The Tweet view that was tapped.

image

The exact UIImage data shown by the Tweet view.

imageURL

The full URL of the image being shown.

Declared In

TWTRTweetViewDelegate.h

tweetView:didTapProfileImageForUser:

Called when the user’s profile image is tapped. If this method is not implemented, the default behavior is to deep link into Twitter application or twitter.com in a webview.

- (void)tweetView:(TWTRTweetView *)tweetView didTapProfileImageForUser:(TWTRUser *)user

Parameters

tweetView

The Tweet view that was tapped.

user

The Twitter user.

Declared In

TWTRTweetViewDelegate.h

tweetView:didTapTweet:

Called when the Tweet is tapped. If this method is not implemented, the default behavior is to deep link into Twitter application or twitter.com in a webview.

- (void)tweetView:(TWTRTweetView *)tweetView didTapTweet:(TWTRTweet *)tweet

Parameters

tweetView

The Tweet view that was tapped.

tweet

The Tweet that user tapped.

Declared In

TWTRTweetViewDelegate.h

tweetView:didTapURL:

A URL in the text of a tweet was tapped. Implement to show your own webview rather than opening Safari.

- (void)tweetView:(TWTRTweetView *)tweetView didTapURL:(NSURL *)url

Parameters

tweetView

The Tweet view that was tapped.

url

The URL that was tapped.

Declared In

TWTRTweetViewDelegate.h

tweetView:didTapVideoWithURL:

The Tweet view video was tapped. If this method is not implemented a video player will be presented.

- (void)tweetView:(TWTRTweetView *)tweetView didTapVideoWithURL:(NSURL *)videoURL

Parameters

tweetView

The Tweet view that was tapped.

videoURL

The full URL of the video being shown.

Declared In

TWTRTweetViewDelegate.h