Background Image causing animated popViewController delay/lag

Probably your image is too large and the content mode backgroundImage.contentMode = UIView.ContentMode.scaleAspectFill cause this behavior.

you have two ways to resolve this problem.

  1. change the UIView.ContentMode value and check if is ok for you. try scaleToFill or scaleAspectFit

  2. resize image to fit on your app.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top