UIButton

Results 5 comments of UIButton

@florianbuerger thank you so much! 👍

> 在源码SVProgressHUD.m文件中第638行self.frame = [[[UIApplication sharedApplication] delegate] window].bounds这句改成 > self.frame= [UIApplication sharedApplication].keyWindow.bounds这个应该就可以了 改了还是不行: - (void)positionHUD:(NSNotification*)notification { CGFloat keyboardHeight = 0.0f; double animationDuration = 0.0; #if !defined(SV_APP_EXTENSIONS) && TARGET_OS_IOS self.frame = UIApplication.sharedApplication.keyWindow.bounds;...

XCode 11 & iOS 13+ ,add code: `@property (nonatomic, strong) UIWindow *window;` ` self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]`

Tried all the methods they said failed

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];