开发者

iPhone App runtime error- "Error: Embedded profile header length is greater than data length.\n"

开发者 https://www.devze.com 2022-12-26 18:59 出处:网络
This error Thu Apr8 20:24:15 iPod-touch appname[947] <Error>: Error: Embedded profile header length is greater than data length.\\n

This error

Thu Apr  8 20:24:15 iPod-touch appname[947] <Error>: Error: Embedded profile header length is greater than data length.\n
Thu Apr  8 20:24:16 iPod-touch appname[947] <Error&开发者_如何学JAVAgt;: Error: Embedded profile header length is greater than data length.\n

is logged when a UIImageView is loaded. The view isn't huge but it has a few other UIImageViews as subviews and it might be related to memory, but I can't find anything on this message. Any ideas?


It sounds like the image file might be malformed. Have you tried opening the image in Preview and re-saving it?


I think we can't add another UIImageView as a subView to the UIImageView.

we can add UIImage as a subView to the UIImageView

Try it by creating testing project.

0

精彩评论

暂无评论...
验证码 换一张
取 消