Fix more warnings

This commit is contained in:
Ali
2021-08-05 00:02:35 +02:00
parent c87725579d
commit 194f25d4e4
107 changed files with 620 additions and 909 deletions

View File

@@ -27,8 +27,9 @@
self = [super initWithFrame:frame];
if (self != nil)
{
if (iosMajorVersion() >= 11)
if (@available(iOS 11.0, *)) {
self.accessibilityIgnoresInvertColors = true;
}
_label = [[TGGradientLabel alloc] init];
_label.backgroundColor = [UIColor clearColor];