IB shows awkward warning when UITableviewCell gets added in UITableview tvOS

Hi,


This seems to be awkward that when we drag UITableview into ViewController and increase its cell count, the moment we can see a warning regarding width of the added cell. The Expected width stated by this warning will be lesser than the Actual width of cell where Actual width will be equal to width of UITableview. Many attemps were made to resolve this and nothing works, Is there a way to resolve this warning?

Is it a warning when dragging in IB ? Or on runtime ?

It happens when you drag a UITableViewCell into UITableView or increase tableviews prototype cells count in IB. Using these two approach you can encounter this warning.

You said:

It happens when you drag a UITableViewCell into UITableView or increase tableviews prototype cells count in IB.

Where does the warning show ? In IB, with the yellow arrow in front of the ViewController ?


I have tested by increasing the number of prototype cells. Only error here is that the 2 prototypes have the same identifier.

Same correct result if I drag a new UITableViewCell. But no identifier problem here, because no identifier is defined yet.

Yeah, its an IB warning only and I use Xcode 10.1. Please repeat the scenario in tvOS project and you will encounter the warning.

I created a simple TVOS project, inserted a TableView and added prototype, both by increasing count and by dragging a cell.


I did not get the message.

IB shows awkward warning when UITableviewCell gets added in UITableview tvOS
 
 
Q