Table view cell display different values when scrolling
Table View had the better usability in iOS.If you are using some methods or variable declarations in view will appear or view did load.Please avoid that.Try to do those operations inside the cellforrowatindexpath method.
Because I faced the problem that I had a scroll view inside the cell.I just add dynamic image views inside the scroll.I defined the image view x= 0 inside the view will appear and every time it will increase to 100.When I scroll with the single image in table view every time the imageView x position differs.
I just remove the x position code from view Will appear and put it inside the cellforrowatindexpath it works well.
Comments
Post a Comment