iPhone 视图被切断
我的景观子视图被之前的视图切断了,为什么会这样?
即使添加了新的子视图,与上一个视图中一样,剪切也在屏幕的 1/3 四分之一左右的底部。像这样的事情> http://i41.photobucket.com/albums/e253/welzenn99/123.png
My landscape subview is being cut off by the previous view, why is it like that?
Cut off as in the previous view is at the bottom part around 1/3 quarter of the screen even when the new subview is added. Something like this > http://i41.photobucket.com/albums/e253/welzenn99/123.png
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要在
OR中设置该视图的框架
you need to set that view's frame in
OR in
在告诉子视图出来的方法中 ([self.view addSubview:someView.view];) add
对我有用。祝你好运
in the method where you tell the subview to come out ([self.view addSubview:someView.view];) add
worked for me. good luck