fastred / AHKActionSheet

An alternative to the UIActionSheet inspired by the Spotify app.
MIT License
1.16k stars 130 forks source link

iPhone 6 flickering #14

Closed czaku closed 10 years ago

czaku commented 10 years ago

When run on iPhone 6 (probably during snapshot creation) there is a very brief screen zoom happening that causes a flicker feeling.. It is probably due to iPhone 6 different screen size.

grafixoner commented 10 years ago

I've got the exact same issue.

czaku commented 10 years ago

I have fixed the issue. Will provide a fix soon.

Regards, Łukasz Czak __ Sent from iPhone

On 25 Sep 2014, at 20:52, grafixoner notifications@github.com wrote:

I've got the exact same issue but may be an IOS 8 thing since I see it on the iPhone 5s as well.

— Reply to this email directly or view it on GitHub.

SohailKh commented 10 years ago

@czaku would be awesome if you could that fix to us! (or a pointers, a couple of us are having issues) thanks!.

czaku commented 10 years ago

Hi, basically that is the bit in UIWindow-AHKAdditions.m

if([self respondsToSelector:@selector(drawViewHierarchyInRect:afterScreenUpdates:)]) {
    [self drawViewHierarchyInRect:self.bounds afterScreenUpdates:NO];
} else {
    [self.layer renderInContext:UIGraphicsGetCurrentContext()];
}

I changed afterScreenUpdates to NO.

fastred commented 10 years ago

Should be fixed in #16.