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.

enter image description here

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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -