Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang on swipe in iOS 14.4 #358

Open
toby5box opened this issue Apr 14, 2021 · 6 comments
Open

Hang on swipe in iOS 14.4 #358

toby5box opened this issue Apr 14, 2021 · 6 comments

Comments

@toby5box
Copy link

toby5box commented Apr 14, 2021

Hi,

Testers on real phones and simulators (including me) are seeing a hang in swiping that does not occur on iOS 13.

At the same time, the log is spammed with these messages:

2021-04-14 15:04:48.790955-0400 BuildupDev[19163:221235] [Snapshotting] 
View (0x7f9e0a172800, BUTableViewCell) drawing with afterScreenUpdates:YES 
inside CoreAnimation commit is not supported.

(In our app, @interface BUTableViewCell : MGSwipeTableCell)

CPU is on 95% and memory continually rises so it looks something like an infinite loop.
Screen Shot 2021-04-14 at 7 40 39 PM

Has anyone else reproduced this?

@toby5box
Copy link
Author

toby5box commented Apr 15, 2021

Looks like the hang can be localised to imageFromView.

@TobiasRe
Copy link

I'm experiencing very similar behaviour.
imageFromView causes the memory so spike until the app crashes.

@MortimerGoro
Copy link
Owner

I'm going to look into it. Can you reproduce it using any of the demos? https://github.com/MortimerGoro/MGSwipeTableCell/tree/master/demo/

@tylerweitzman
Copy link

I'm getting this too iOS 4.5 iPhone 12 Pro Max. Doesn't happen on simulator

@tylerweitzman
Copy link

tylerweitzman commented Jun 21, 2021

I was able to fix by downgrading all the way down to version 1.6.6. Now it's no longer crashing, though it still hangs for a few seconds. Sadly, this is not very reproducible. I was able to consistently reproduce it only in a specific user's account in our app, and only by performing a fixed series of steps navigating to another view in the navigation, performing an action in that view, returning, to the root view, and then swiping and tapping.

@aldukeman
Copy link

Same experience here. App quickly runs out of memory and crashes. Will try reverting to 1.6.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants