Fork me on GitHub

View问题小结

1.UIView总结:

 

    重要属性:

    frame

    layer

    subviews

    tag

    superview

    userInteractionEnabled

    multipleTouchEnabled

    center

    重要方法

    initWithFrame:

    

    addSubview:

    insertSubview:atIndex:

    insertSubview:aboveSubview:

    insertSubview:belowSubview:

    exchangeSubviewAtIndex:withSubviewAtIndex:

    

    drawRect:

    

    viewWithTag:

    removeFromSuperview

    

    

2.UIScrollView使用实践:

    重要的属性:

    contentSize

    maximumZo

posted on 2012-04-04 22:54  pengyingh  阅读(164)  评论(0)    收藏  举报

导航