Reputation: 2816
I am adding the ImageView in Table View but I am getting the above error when I compile it? Do I need to add class for cell
Upvotes: 0
Views: 1824
Reputation: 3008
Outlets cannot be connected to repeating content
You are getting this error message because you have given Outlet to cell's imagevView in viewController's class.
You cannot give outlet directly.
You have to create Subclass of UITableviewCell and will be able to give outlet to any of cell's content.
or You can give Tag to specific view And access the view with tag when required.
Upvotes: 3