iphone - Best way to avoid memory leaks for Multiple Buttons in UITableViewCell -
i've got array of buttons in uitableviewcell. populated them through cellforrowatindexpath method, tableview gets sluggish though have released everything.
should using custom uitableviewcell populate? suggestions on how make smooth possible user great.
screenshot below.
you create custom cell / custom view pair specific cell, can draw yours buttons in drawrect:. however, draw buttons image wouldn't able tap them, guess can create uitapgesturerecognizer cell (you'd still have figure out button pressed examining x,y values).
still, don't see point in adding tag buttons inside uitableviewcell. come alternate design in ui, i.e. uiview presented on top of table, or modal controller maybe.
Comments
Post a Comment