diff --git a/Classes/BITFeedbackComposeViewController.m b/Classes/BITFeedbackComposeViewController.m index 6f147dcfcd..4ff3b4aad3 100644 --- a/Classes/BITFeedbackComposeViewController.m +++ b/Classes/BITFeedbackComposeViewController.m @@ -183,10 +183,10 @@ // Add Photo Button + Container that's displayed above the keyboard. 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]; - UIButton *addPhotoButton = [UIButton buttonWithType:UIButtonTypeSystem]; + UIButton *addPhotoButton = [UIButton buttonWithType:UIButtonTypeCustom]; [addPhotoButton setTitle:@"+ Add Photo" forState:UIControlStateNormal]; - addPhotoButton.frame = CGRectMake(0, 0, 100, 44); - + [addPhotoButton setTitleColor:[UIColor darkGrayColor] forState:UIControlStateNormal]; + addPhotoButton.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.frame), 44); [addPhotoButton addTarget:self action:@selector(addPhotoAction:) forControlEvents:UIControlEventTouchUpInside]; [self.textAccessoryView addSubview:addPhotoButton];