iphone开发中 viewWithTag 什么意思

就是根据tag获取view
比如在view里加了一个view        button   然后设置他的tag为 101
然后(UIButton *)[当前view viewWithTag:101] 就可以去到你加的button

这个一般用在表格的cell里

你可能感兴趣的:(iPhone,button)