imzyf / ios-swift-learning-notes

📝 iOS Swift Learning Notes - see Issues
MIT License
0 stars 0 forks source link

frame 与 bounds 的区别? #54

Closed imzyf closed 6 years ago

imzyf commented 6 years ago

frame 本 view 在 superview 中的位置

bounds 是自身的 rect,x,y 肯定是 0,0

imzyf commented 6 years ago

i see