Welcome, Guest
Username Password: Remember me

Unable to change style of grouped table
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Unable to change style of grouped table

Unable to change style of grouped table 1 year, 4 months ago #1

Hi,

I have an iPad app that presents a STV table in a modal window. In IB, I went in and changed the group style to single line etched and the preview in IB shows the change. However, when I build and run in the simulator it is still the bar type of group separation.

I have a feeling this is something really easy that I am missing - I'm still a beginner. I've attached a couple of screen shots if it helps.

Thanks!
Screen_shot_2011_01_17_at_5.png

Re: Unable to change style of grouped table 1 year, 4 months ago #2

Hi Brandon,

The separator style "Single Line Etched" is only supported for table views of style "Grouped", while your screen shot clearly shows that your table is of style "Plain". For more on this, please check Apple's UITableViewCellSeparatorStyle documentation.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72

Re: Unable to change style of grouped table 1 year, 4 months ago #3

Hi Tarek,

That's the crazy thing - in IB it's definitely set to Grouped and Single Line Etched. And, the preview in IB looks correct . . . it's only when I build and view in the simulator that it isn't grouped. I'll keep looking - I am sure it's just a dumb mistake I've made somewhere else.

Re: Unable to change style of grouped table 1 year, 4 months ago #4

I finally figured it out - I forgot to assign the NIB name in IB. Figured I would post the problem in the rare chance that someone else experiences the same thing!
  • Page:
  • 1
Time to create page: 1.33 seconds