1

I am using a table view displaying (say 16) rows of random data. If I delete a row, the simulator reverts to the home screen. If I touch to reload, I again have 16 rows of DIFFERENT random data. Same behavior if I scroll the screen.

Does anyone have any ideas?

skaffman
  • 398,947
  • 96
  • 818
  • 769

1 Answers1

1

A revert to the home screen means your app has crashed. Run the app from the XCode Debugger to help find out where.

A UITableView is the View of MVC, not the Model. If you didn't store your random data in a Model object somewhere, the exact same data can't be redisplayed when the View refreshes and asks for data again.

hotpaw2
  • 70,107
  • 14
  • 90
  • 153