Open Cookiezby opened 6 years ago
replace the line in show function [[[[UIApplication sharedApplication] windows] firstObject] addSubview:self]; to [[[UIApplication sharedApplication] keyWindow] addSubview:self];
[[[[UIApplication sharedApplication] windows] firstObject] addSubview:self];
[[[UIApplication sharedApplication] keyWindow] addSubview:self];
replace the line in show function
[[[[UIApplication sharedApplication] windows] firstObject] addSubview:self];
to[[[UIApplication sharedApplication] keyWindow] addSubview:self];