mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
9db3b0db27
copy/save/delete is accessed via longpress for all media messages, just like for simple text messages. Notes ----- We don't support saving audio attachments as it's not clear where they should go. (I don't think users expect them to end up in their iTunes library.) There is still no UX for "pasting" media into Signal. Removed the now redundant (and confusing) "share" button interface. //FREEBIE
25 lines
535 B
Objective-C
25 lines
535 B
Objective-C
//
|
|
// TSAnimatedAdapter.h
|
|
// Signal
|
|
//
|
|
// Created by Mike Okner (@mikeokner) on 2015-09-01.
|
|
// Copyright (c) 2015 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "OWSMessageEditing.h"
|
|
#import <JSQMessagesViewController/JSQPhotoMediaItem.h>
|
|
|
|
@class TSAttachmentStream;
|
|
|
|
@interface TSAnimatedAdapter : JSQMediaItem <OWSMessageEditing>
|
|
|
|
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachment;
|
|
|
|
- (BOOL)isImage;
|
|
- (BOOL)isAudio;
|
|
- (BOOL)isVideo;
|
|
|
|
@property NSString *attachmentId;
|
|
@property NSData *fileData;
|
|
|
|
@end
|