File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -105,32 +105,4 @@ - (void)setUpConstraints {
105
105
}
106
106
}
107
107
108
- #pragma mark - Accessibility
109
-
110
- - (BOOL )isAccessibilityElement {
111
- return YES ;
112
- }
113
-
114
- - (NSString *)accessibilityLabel {
115
- if (_progressView) {
116
- if (!_percentFormatter) {
117
- _percentFormatter = [[NSNumberFormatter alloc ] init ];
118
- _percentFormatter.numberStyle = NSNumberFormatterPercentStyle;
119
- }
120
- return ORKAccessibilityStringForVariables (_progressView.accessibilityLabel ,
121
- [_percentFormatter stringFromNumber: [NSNumber numberWithFloat: _progressView.progress]]);
122
- } else if (_activityIndicatorView) {
123
- return ORKAccessibilityStringForVariables (_activityIndicatorView.accessibilityLabel );
124
- }
125
- return nil ;
126
- }
127
-
128
- - (UIAccessibilityTraits)accessibilityTraits {
129
- if (_progressView) {
130
- return [super accessibilityTraits ] | UIAccessibilityTraitUpdatesFrequently;
131
- } else {
132
- return [super accessibilityTraits ];
133
- }
134
- }
135
-
136
108
@end
You can’t perform that action at this time.
0 commit comments