Include statusbar in screenshots by default

This commit is contained in:
Andreas Linde
2014-06-16 13:45:02 +02:00
parent 423915cb0c
commit fbfd4ae0fb
2 changed files with 4 additions and 6 deletions

View File

@@ -317,10 +317,8 @@ typedef NS_ENUM(NSInteger, BITFeedbackObservationMode) {
[[BITHockeyManager sharedHockeyManager].feedbackManager showFeedbackComposeViewWithGeneratedScreenshot];
@see feedbackObservationMode
@param includeStatusBar BOOL if the screenshot should include the satusbar (if present) or not
*/
- (void)showFeedbackComposeViewWithGeneratedScreenshotWithStatusBar:(BOOL)includeStatusBar;
- (void)showFeedbackComposeViewWithGeneratedScreenshot;
/**

View File

@@ -243,8 +243,8 @@
}
- (void)showFeedbackComposeViewWithGeneratedScreenshotWithStatusBar:(BOOL)includeStatusBar {
UIImage *screenshot = bit_screenshot(includeStatusBar);
- (void)showFeedbackComposeViewWithGeneratedScreenshot {
UIImage *screenshot = bit_screenshot(YES);
[self showFeedbackComposeViewWithPreparedItems:@[screenshot]];
}
@@ -1132,7 +1132,7 @@
- (void)screenshotTripleTap:(UITapGestureRecognizer *)tapRecognizer {
if (tapRecognizer.state == UIGestureRecognizerStateRecognized){
[self showFeedbackComposeViewWithGeneratedScreenshotWithStatusBar:NO];
[self showFeedbackComposeViewWithGeneratedScreenshot];
}
}