Search + separatorStyle in tableview crashed iPhone app
All,
I am building an iPhone app by referecing the "Table View (Layout 4)" in KitchenSink. Everything works and looks fine… until I started to add a search bar to the tableview. As titled, the app just crashed. After some trial, I realized that the "separatorStyle" is the cause. When it's commented, stuff works fine. A test on "separatorColor" also crashed the app. If I remove the search bar, then the separatorStyle works fine which is the same as the kitchensink sample.
So it's pretty sure this is a bug. Is this known? Or is there a work around?
4 Answers
-
Sorry, forgot to mention that I started from 0.9.2 and the issue persists even on 1.0.0.
-
This is an easy to reproduce bug. No one had ever encountered this issue?
-
The crash should be showing you a relevant trace statement in the Titanium Developer console (switch the "Filter" in the console to "Trace").
To you happen to get the same error as in this item? It also relates to a crash with tableview and searchbar.
-
I must apologize, my earlier hint to use Trace doesn't apply iPhone simulator; Trace is only available when launching the Android simulator.