I tried to implement a custom tableviewcell, but Found its width is always set to 320 while the tableview width is 414, I wonder why that happens and how to fix it? (By fixing, I mean the cell automatically sizes to tableview width)
Thanks in adcance!
PS: I didn’t use storyboard, I program cell and tableview