iPhoneOS SDK - 从视图中删除圆角(iPad 问题)
这可能有点挑剔,但在 iPad SplitViewController 设置中,有 2 个视图。每个视图都有一个非常小的黑色圆角。 (iPhone 应用程序可能也是如此)。
这种舍入在下图中可见。我想做的是删除黑色圆角,这样用户界面底部就不会出现这两个小凸起。有没有人这样做过,或者知道如何做? -这当然有可能。
希望有人以前见过这个。
谢谢
< a href="http://img19.imageshack.us/img19/7297/screenshot20100413at102.png" rel="noreferrer">替代文本 http://img19.imageshack.us/img19/7297/screenshot20100413at102.png
This might be a little bit picky, but in the iPad SplitViewController setup, there are 2 views. Each of the views has a very small black corner rounding. (This is probably the same with iPhone apps too).
This rounding is visible in the image below. What I would like to do is remove the black rounding, so the UI doesnt get these two little bumps along the bottom. Has anyone done this, or know how to? -Its surely possible.
Hopefully some one has seen this before.
Thanks
alt text http://img19.imageshack.us/img19/7297/screenshot20100413at102.png
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将以下内容添加到您的应用程序委托中:
在 UISplitViewController 的 DetailViewController 中添加:
Add the following to your app delegate:
In your DetailViewController of the UISplitViewController add:
您可能必须在视图中重写
drawRect
并自己绘制它而不进行舍入。You'll probably have to override
drawRect
in the view and draw your it yourself without the rounding.