UIImageView initWithCoder - unrecognized selector sent to instance… iOS 5 beta SDK

后端 未结 3 1014
情书的邮戳
情书的邮戳 2021-01-24 06:43

I\'m sorry if it has already been asked, but here comes the problem:

I\'ve recently updated my SDK to iOS 5 beta. My app builds and runs perfectly fine

3条回答
  •  粉色の甜心
    2021-01-24 06:46

    I can't open URL https://devforums.apple.com/message/507796#507796.... but I think you can make a category for UIImage class, like this:

    @implementation UIImage (Coder)
    
    - (id)initWithCoder:(NSCoder *)aCoder
    {
         return nil;
    }
    
    @end
    

提交回复
热议问题