阅读背景:

UIView子类initWithFrame没被调用?

来源:互联网 

I have a custom UIView subclass. In IB, I have specified a "placeholder" UIView and set the class to my class name. My override of drawRect method is working, and the background is coloring properly, but the initWithFrame is not firing. Why?I have a custom UIView subclass. In IB, I have




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: