Why iOS coordinate system is difficult to understand?? only me?
问题 I'm studying iOS' UIView! And I found that I can't understand how bounds works. For example, Please run this code ... and see red box's moving. The red box goes up! and white root view is static! Why!? why red box goes up! ?? please let me know OTL! class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let childView : UIView = UIView(frame: CGRect(x: 50, y: 50, width: 200, height: 200) ) childView.backgroundColor = UIColor.red self.view.addSubview