#import <JSQMessagesMediaViewBubbleImageMasker.h>
An instance of JSQMessagesMediaViewBubbleImageMasker is an object that masks media views for a JSQMessageMediaData object. Given a view, it will mask the view with a bubble image for an outgoing or incoming media view.
- See also
- JSQMessageMediaData.
-
JSQMessagesBubbleImageFactory.
-
JSQMessagesBubbleImage.
| + (void) applyBubbleImageMaskToMediaView: |
|
(UIView *) |
mediaView |
| isOutgoing: |
|
(BOOL) |
isOutgoing |
|
|
| |
A convenience method for applying a bubble image mask to the specified mediaView. This method uses the default instance of JSQMessagesBubbleImageFactory.
- Parameters
-
| mediaView | The media view to mask. |
| isOutgoing | A boolean value specifiying whether or not the mask should be for an outgoing or incoming view. Specify YES for outgoing and NO for incoming. |
| - (void) applyIncomingBubbleImageMaskToMediaView: |
|
(UIView *) |
mediaView |
|
Applies an incoming bubble image mask to the specified mediaView.
- Parameters
-
| mediaView | The media view to mask. |
| - (void) applyOutgoingBubbleImageMaskToMediaView: |
|
(UIView *) |
mediaView |
|
Applies an outgoing bubble image mask to the specified mediaView.
- Parameters
-
| mediaView | The media view to mask. |
Returns the bubble image factory that the masker uses to mask media views.
The documentation for this class was generated from the following files: