Shows the conversation picker, and sends the attachment to that conversation. There's still a lot TODO -[ ] resolve JSQ dependency -[ ] properly wait for app to load -[ ] dismiss share extension after send is complete -[ ] support non jpeg file types -[ ] Fix device sleep manager // FREEBIE
21 lines
502 B
Objective-C
21 lines
502 B
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface UIImage (normalizeImage)
|
|
|
|
- (UIImage *)normalizedImage;
|
|
- (UIImage *)resizedWithQuality:(CGInterpolationQuality)quality rate:(CGFloat)rate;
|
|
|
|
- (UIImage *)resizedImageToSize:(CGSize)dstSize;
|
|
- (UIImage *)resizedImageToFillPixelSize:(CGSize)boundingSize;
|
|
|
|
+ (UIImage *)imageWithColor:(UIColor *)color;
|
|
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|