开发者

remove a button from application at runtime

I have a xcode/ipad application that adds buttons at runtime at the touch point on the screen.

Now I need to remove these button(s) at runtime by only using the x/y coordinates.

How 开发者_StackOverflow社区do I accomplish this??

take care

tony


not the best and fastest way to do it, but iterate over the parent view's control list, find out their relative x/y coordinates and remove them from the parent view

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜