且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

应用程序框架在顶部留下空白行

更新时间:2023-11-04 14:59:52

我发现我使用错误的框架坐标applicationFrame。将它更改为边界时一切正常。

I found I use the wrong frame coordinates "applicationFrame". All works fine when changing it to the bounds.

UIScrollView *vScrollView = [[UIScrollView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];