IOS Swift3.1 界面中画定位线

    //使用百分比画横线     func setHLine(pos:CGFloat) {         let rLinePos:CGFloat = pos * UIScreen.main.bounds.height         let line: UIView = UIView(frame: CGRect(x: 0, y: Int(rLinePos), width: Int(UISc
相关文章
相关标签/搜索