开发者

iPad WebView - Looking for Dock.Fill like behavior in UISplitView

How do I make view that is in a UISplitView (Detail side) fill its container. Similar to Visual Studio's Dock.Fill in Windows development?

M开发者_运维技巧ust be done in code.

The view is there already, just needs to grow to fill the container at run time.


Set the autoresizingMask. You can do this in code:

[detailView setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜