阅读背景:

将UIView原点点转换为其窗口坐标系统

来源:互联网 

I want to get the origin of scrollView in the window coordinate system. For Example, presently, scollView origin is (0,51). But in window coordinate system it should be 51 + 44(navigation bar height)+20(status bar height) = 115. Means in window coordinate system the scrollView.frame.origin should be (0,115). I tried with convertPoint: methods but getting (0,51) or (0,0) sometimes. Please provide a solution to this. ThanksI want to get the origin of scrollView in the w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: