Skip to content

Commit

Permalink
Merge pull request #65 from devxoul/accessibility-element
Browse files Browse the repository at this point in the history
Set isAccessibilityElement as NO
  • Loading branch information
devxoul authored Sep 17, 2019
2 parents b0c2fc0 + b635afb commit 7b1560c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/UITextView+Placeholder.m
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ - (UITextView *)placeholderTextView {
textView.backgroundColor = [UIColor clearColor];
textView.textColor = [self.class defaultPlaceholderColor];
textView.userInteractionEnabled = NO;
textView.isAccessibilityElement = NO;
objc_setAssociatedObject(self, @selector(placeholderTextView), textView, OBJC_ASSOCIATION_RETAIN_NONATOMIC);

self.needsUpdateFont = YES;
Expand Down

0 comments on commit 7b1560c

Please sign in to comment.