Allow customizable attachments to feedback

- New `BITHockeyAttachment` class, which `BITCrashAttachment` is now a subclass of
- Can also be used in `prepareWithItems:` for BITFeedbackComposeViewController
- Allows to set a custom filename and content-type for attachments that can be used with crash reports and with feedback
This commit is contained in:
Andreas Linde
2014-06-21 16:23:55 +02:00
parent 5fc0014385
commit cae1226b38
14 changed files with 228 additions and 74 deletions

View File

@@ -289,6 +289,7 @@ typedef NS_ENUM(NSInteger, BITFeedbackObservationMode) {
while all UIImage and NSData-instances will be turned into attachments.
@param items an NSArray with objects that should be attached
@see `[BITFeedbackComposeViewController prepareWithItems:]`
*/
- (void)showFeedbackComposeViewWithPreparedItems:(NSArray *)items;