0

We use MonoTouch for our application and we sometime experience (after some usage) that the view controller background suddenly turns brown. This happens when we pop another view controller from the navigation controller. We're using MonoTouch.Dialog for everything. What causes this problem and what's the solution?

Example can be seen here:

Daniel Hilgarth
  • 171,043
  • 40
  • 335
  • 443

3 Answers3

0

If I remember, it has to do with the cell being re-cycled, you must set all the attributes of the cell, otherwise you might end up using one from before. I'm talking about background, foreground, colors, etc.

Eric
  • 462
  • 1
  • 5
  • 13
0

Can you post some examples of your code usage?

Do you explicitly set the View.BackgroundColor = UIColor.White on view instantiation or when you're popping a view off the Navstack?

Nick Klufas
  • 218
  • 3
  • 9
0

This was actually due to a bug in our own code.