Re: Un-embed UITableView from UIViewController content view in Interface Builder
Re: Un-embed UITableView from UIViewController content view in Interface Builder
- Subject: Re: Un-embed UITableView from UIViewController content view in Interface Builder
- From: Ben Kennedy <email@hidden>
- Date: Mon, 27 Mar 2017 12:11:08 -0700
> On 24 Mar 2017, at 8:01 pm, Saagar Jha <email@hidden> wrote:
>
> I want the layout to look like this instead:
>
> UIViewController
> UITableView (this is now the content view)
>
> i.e. what happens when you drag a table view to a view controller without a content view in Interface Builder–it fills it and becomes the content view itself.
I've often achieved the desired result by opening up the xib/storyboard in BBEdit and manually hacking the XML (to delete the unwanted node, and twiddling the ids as required.
However, in this case, wouldn't a UITableViewController be the easiest solution?
-ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden