ios - Add a button on top (floating) of UISplitView - Swift -
my app contains 1 uisplitviewcontroller. want add floating button on top of window. not possible use storyboard drag button uitableviewcontroller of master view, because default, master view contains uitableview.
how can it?
you need create new view controller before split view controller. , in new controller add button on top , add container view fill rest of view.
then create segue container view split view controller viewdidload/embed
that's all!




Comments
Post a Comment