I have a UISearchDisplayController in the Header section of my UITableView. I would like to display an iAd right above that. How can I accomplish this?
A:
Make the header section a view containing both the iAd banner and UISearchDisplayController
as subviews of it.
jrtc27
2010-09-14 16:52:49
You can't add a UISearchDisplayController to a UIView
Sheehan Alam
2010-09-14 16:56:04
Sorry: make the header section a view containing both the iAd banner and `UISearchBar` as subviews of it - a `UISearchBar` can be added to a `UIView` as far as I am aware.
jrtc27
2010-09-14 17:52:51
However, Apple will almost definitely reject your app as a result of the iAd banner being in the header - see [here](http://stackoverflow.com/questions/3719158/will-my-app-get-rejected-if-i-place-an-iad-in-a-uitableview-headerview/3719923#3719923)
jrtc27
2010-09-15 17:21:33