Bug 14850 - [ios designer] Unable to drag a UISearchBar into a UITableview
Summary: [ios designer] Unable to drag a UISearchBar into a UITableview
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: 4.1.11
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: 5.0
Assignee: Alan McGovern
Depends on:
Reported: 2013-09-19 07:16 UTC by Bruce McLeod
Modified: 2014-04-15 06:32 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Bruce McLeod 2013-09-19 07:16:56 UTC
When in Xcode you can drag a UISearchBar into an existing tableview. A guide line appears letting you choose between dropping it into the table view itself, or above the tableview in the controller.

In the Xamarin Designer, trying to do the same results in no guides and the UISearchBar replacing the tableview itself.

Steps to Reproduce:

1. Create a new iPhone Storyboard single view project
2. Drag a tableview onto the designer and make it the first controller.
3. Try and drag a UISearchBar into the tableview.
Comment 1 Alan McGovern 2013-09-19 14:26:54 UTC
We need to add support for UITableView.HeaderView and UITableView.FooterView. We lack the ability to set these via drag/drop and we also (presumably) do not render them if they are set in xml.
Comment 2 Alan McGovern 2013-09-23 06:41:14 UTC
Full support for this was added last Friday. The next alpha was already in the process of being released so this fix won't be in the next release we do, but should be in the release after that.

For now if you want to set the TableViewHeader and TableViewFooter you can open the storyboard in xcode and set them there.
Comment 3 Prashant manu 2014-04-15 06:32:26 UTC
IO have checked this issue with following builds:

X.S 5.0(build 685)
Git revision: 25d925b654a5bc09e73c61cba03ea0fea7cae7ed
X.iOS 7.2.1-212

I am getting proper guide line like in Xcode. This is the screencast for the same: http://www.screencast.com/t/V96ZCdEcn