美文网首页
Update view size when device ori

Update view size when device ori

作者: hoody | 来源:发表于2015-02-02 07:58 被阅读21次
    override func viewWillTransitionToSize(size: CGSize, withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {
        barView.frame = CGRect(x:0, y: 0, width: size.width, height: 30)
    }
    

    size is the container's size.

    相关文章

      网友评论

          本文标题:Update view size when device ori

          本文链接:https://www.haomeiwen.com/subject/batrxttx.html