Fix method name

This commit is contained in:
Benjamin Scholtysik (Reimold)
2016-08-31 17:03:33 -07:00
parent b2b62321a5
commit fb6881faa1
2 changed files with 2 additions and 2 deletions

View File

@@ -236,7 +236,7 @@
[self.contentViewContainer addSubview:self.textView];
// Add Photo Button + Container that's displayed above the keyboard.
if([BITHockeyHelper isPhotoAccessSupported]) {
if([BITHockeyHelper isPhotoAccessPossible]) {
self.textAccessoryView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.view.frame), 44)];
self.textAccessoryView.backgroundColor = [UIColor colorWithRed:0.9f green:0.9f blue:0.9f alpha:1.0f];

View File

@@ -392,7 +392,7 @@ typedef void (^BITLatestImageFetchCompletionBlock)(UIImage *_Nonnull latestImage
}
- (BOOL)isiOS10PhotoPolicySet {
BOOL isiOS10PhotoPolicySet = [BITHockeyHelper isPhotoAccessSupported];
BOOL isiOS10PhotoPolicySet = [BITHockeyHelper isPhotoAccessPossible];
if(bit_isDebuggerAttached()) {
if(!isiOS10PhotoPolicySet) {
BITHockeyLogWarning(@"You are using HockeyApp's Feedback feature in iOS 10 or later. iOS 10 requires you to add the usage strings to your app's info.plist. "