David Miani
David Miani

Reputation: 14668

Section index working but not visible on a table in a monotouch application

I'm reading through the Professional iPhone Programming with MonoTouch and .NET/C# book, but I'm having trouble getting the example with section indexes with tables working. The book has sample code available.

When I try to run the code in chapter 6 (download here) in the folder "Tables03", no section index is displayed however the index still appears to function when I slide my finger down it. There is also a gap where it should be, just no letters are there. See below, I'm scrolling using the index but no letters are visible.

Has there been a change in the api that has broken this since the book was released? Or is the problem something else?

(Note to run the code I had to change the iPhone Build SDK version in project settings, since it was using 3.0).

table problem

Upvotes: 1

Views: 358

Answers (2)

Jason
Jason

Reputation: 89102

This is a known bug with MT 4.0. See this question

Upvotes: 2

jonathanpeppers
jonathanpeppers

Reputation: 26495

You have to fill out the section index names.

An is example is here.

I'm not sure why your book's examples aren't doing this--I have found bugs in certain book examples myself.

Upvotes: 0

Related Questions