摘要:
//把bgView强制修改成UIControl,以便响应触摸事件 //UIControl是UIView的子类//其实有很多情况都可以这样用,用一个普通的UIView来模拟某些控件,可以很灵活!!!!UIView *bgView; CGRect bgFrame = CGRectMake(0.0, 35.0, 320.0, 460.0 - 35.0); UIControl *bgControl = [[UIControl alloc] initWithFrame:bgFrame]; [bgControl addTarget:self ac... 阅读全文
posted @ 2012-07-19 10:30
编程小翁
阅读(365)
评论(0)
推荐(0)

浙公网安备 33010602011771号