Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0777751

Browse files
committed
Prevent the placeholder label from getting VO focus
1 parent 3e75b46 commit 0777751

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Source/SLKTextView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ - (UILabel *)placeholderLabel
143143
_placeholderLabel.backgroundColor = [UIColor clearColor];
144144
_placeholderLabel.textColor = [UIColor lightGrayColor];
145145
_placeholderLabel.hidden = YES;
146+
_placeholderLabel.isAccessibilityElement = NO;
146147

147148
[self addSubview:_placeholderLabel];
148149
}

0 commit comments

Comments
 (0)