-[ display]: Ignoring bogus layer size

前端 未结 6 2379
天命终不由人
天命终不由人 2021-02-19 05:43
-[ display]: Ignoring bogus layer size (255211754908294243945860531626574872576.000000, 340282346638528859811704183484516925440.000000)
         


        
6条回答
  •  无人共我
    2021-02-19 06:44

    I spent a bit of time trying to find the answer to a similar question, I was getting:

    [ display]: Ignoring bogus layer size (nan, nan)

    but only on a device, not on the simulator. My problem was due to the fact that I was loading images out of the applicationCacheDirectory and it turns out the files had a mix of upper and lower cases in my project director. But in the Cache directory on device, they were all changed to lower case. Hope this helps someone in the future.

提交回复
热议问题