My application has a few portions that have really big buttons (640x130, 230x150, etc.) What I need is to have a way to update different portions of the button, with different text. Initially, I assumed that in my code I could create various UILabels and then add them as subviews to my button. However, as soon as I try to add a UILabel to the button as a sub-view, my app crashes.
在不防止纽顿的主人对使用超额控制感兴趣的情况下,我可以完全自行布署,这是为纽托邦造成超支的最容易的方法吗?
我认为,解决这一问题有多种途径。 然而,我案件的最佳解决办法是使用最短的法典(我有少数这样的州),我愿意继续使用国际B内部某种形式的可图纽。
I m not opposed to subclassing UIButton but, if I do, I would like to be able to use it in IB. I ve never created a custom UIView for such a circumstance, so I d need help defining that type of subclass so that it will work correctly in IB.