开发者

Removing Divider Line from UISplitViewController

Guys, I know a similar question exists but the thread seems to be inactive, and I really would like this question to be answered. It's been annoying me for a few days now.

I'm wondering how to remove the divider line between the Master and Detail view in the UISplitViewController. I know its possible to remove/hide/cover it u开发者_运维知识库p because I see some apps in the store without that line.

I have tried setting backgroundColor to clearColour on my views but to no avail. So SO community, you're my only hope!


It doesnt look a UISplitviewer instead, you can have own views. For example, you can have 2 views in a view controller, where you can apply the design you needed for the views.


There is nothing in the documented API that allows you to do this. It's mostly playing around with images using an UIImageView to work with that line.


Actually you can't remove the divider between the master and detail view. If you want to hide any one of the view, you can make the view height and width as 0,0 so that the other view will fully occupy the screen

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜