Alan  Luo
Alan Luo

Reputation: 59

App Crashes , but no device log

I swipe the tableview, and it would crashes, I try to find device console under windows, devices in Xcode, but there's no log. If I use XCode to run the app. It crash without telling me why. But just lost the connection with my phone.enter image description here

Upvotes: 1

Views: 366

Answers (2)

Alan  Luo
Alan Luo

Reputation: 59

It's a memory issue. The system kills the app while it's going to load to many images. I commented the code "decodedImageWithImage" in SDWebImage, And the problem got fixed.

Upvotes: 0

user5890979
user5890979

Reputation:

One cause for those searcing on the question in the title:

This problem can occur if you have a bad iOS cable connected. The cable could work perfectly normal but in some angles when twisted and turned , could fail and lose connection.

Second cause (Your cause):

I swipe the tableview

Something in your tableView is not set up correctly. Probably as mentioned in the comment section below your question, memory issues. Add code to your question for us to be able to check even further in detail.

Upvotes: 1

Related Questions