#import <EMPhotoViewDelegate.h>
Inherited by EMPhotoViewController.
Public Member Functions | |
| (void) | - photoView:singleTapEndedOnPhotoWithIndex: |
| (void) | - photoView:touchesBeganOnPhotoWithIndex: |
| (void) | - photoView:: |
| (void) | - photoViewDidSlideRight: |
| (void) | - photoViewDidSlideLeft: |
| (void) | - photoView:didUpdateFromIndex:toIndex: |
The delegate of a EMPhotoView object must adopt the EMPhotoViewDelegate protocol. Optional methods of the protocol allow the delegate to manage user interactions such as tapping and double tapping.
| - (void) photoView: | (EMPhotoView *) | photoView | |
| didUpdateFromIndex: | (NSInteger) | oldIndex | |
| toIndex: | (NSInteger) | newIndex | |
[optional] |
This is called on the delegate from a side thread
| - (void) photoView: | (EMPhotoView *) | photoView | |
| singleTapEndedOnPhotoWithIndex: | (NSInteger) | index | |
[optional] |
photoView:singleTapOnPhotoWithIndex:
Tells the delegate that the user tapped on the EMPhotoView associated with a given index. This method is optional.
One possible action the delegate could take in response to a tap on the photo-view by moving in and out of full screen mode.
| photoView | The photo-view object informing the delegate of this event. |
| index | the index of the visible image in the photo-view. |
1.8.0