I added a UIButton
to a UICollectionView
header. I like to instigate a popover segue from the button to a UITableViewController
.
- I control-drag from the button on the collection view header to the tableView Controller and choose present as popover segue.
- When I build the project, I receive the following error:
Main.storyboard:
error: Couldn't compile connection: <IBCocoaTouchOutletConnection:
0x7fd0436bc660 source=<IBProxyObject: l2l-iC-wi9 'Placeholder for
UIStoryboardPopoverPresentationSegueTemplate with OID iIR-Qd-1S2'>
property=anchorView destination=<IBUIButton: xWf-K4-adt 'Anchor
View'>>
Notes
if I choose to initiate other types of segues, they all work fine.
if the button is not located in the header of a
UIcollectionView
(e.g.,UIViewController
,UIView
) , the popover segue works fine too.