I have a simple table… no scrolling, no sections, am using it as a “menu”
When the user taps on a row, it calls another view based on the row selected.
HOWEVER… it doesnt always return the correct row number
the delegate activates the next view… that isn’t the problem, the problem is indexPath is wrong
but not always it works for a while, then returns the LAST row #, then starts working again
HELP?!
I may just replace it with 8 UIButtons instead… using a UITableview would have be more scalable if I decided to add more entries
very odd… I found a “workaround”
the UITableView was the “exact” size of the devices safearea, each row was 1/8 the safeare height
Scrolling was disabled.
When it was wonky… no matter what row I tapped, it called the LAST ROW, then it called the row I tapped… TWO rows not just the one I tapped… which then of course screwed up the view stack.
I found it I made it a few pixels short, it worked much better.
but decided to change it to 8 UIButtons instead… since it was a small finite number of objects.
Now the Menu works fine, and other things are messed up.
Where each of the rounded boxes is a UIButton each with a specific TARGET (they simulate check boxes)
Where [MENU | START] is a SegmentedControl with its own Target (unrelated to the UIBUTTON)
HOWEVER, if I click one of the buttons, it THINKS I clicked the SegCtrl
I even removed all the targets… and clicking one of the boxes still flashes the SegCtrl!
Not sure if this was the reason or not… But I trashed the entire DERIVED DATA folder, and rebooted everything… Today the simulator seems to behave as expected