根据Apple文档,CGRectMinY(CGRect)rectreturnstheycoordinateofthetoprightcornerofthespecifiedrectangle不应该是矩形的左下角吗?因为我认为Y轴是向下的。 最佳答案 如果这是针对iOS的,我认为您的函数是错误的。http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.htmlCGRect