today ran into a mistake, did not find the reason for a long time, is a pit:
The reason is clear because some of my data request paths are empty, that is, the path has an error.
But what exactly is wrong with the path?
The above reasons do not say, but also need to look at the following.
See the error, and very familiar is Kiimagepager, but also with the path is related, it is possible that there is a mistake ~
Let's go and see:
In these two classes, and kiimage related, and the path has a link to the above method, the contents of this method is commented out, the crash is gone, but why this reason?
Originally because and I cooperated with the development of the engineer, modified the file, the picture is deleted, because the original here is a carousel map, in order to effect, the display is a fixed picture, now need is the picture request path, so it will cause this error.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Reason: ' * * *-[nsurl Initfileurlwithpath:]: Nil string parameter ' crashes