开发者

Changeing view in a SplitViewController using a segmented controll in toolbar of DetailView

开发者 https://www.devze.com 2023-01-01 10:45 出处:网络
I am trying to change the views (Master and Detail) of my spliviewcontroller using a segmented controll located on a toolb开发者_运维问答ar on the DetailView.

I am trying to change the views (Master and Detail) of my spliviewcontroller using a segmented controll located on a toolb开发者_运维问答ar on the DetailView.

I'm not sure how to controll these views.

Any help would be greatly appreciated.


The easiest thing is to have your segment controller change subviews within these views rather than changing the views themselves.

When the user taps a segment on the segment control, send the action to your DetailViewController and switch out the subview for another one.

0

精彩评论

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