objective c - UITableView forced to be UITableViewStyleGrouped but still UITableViewStylePlain sometimes -


i have uitableviewcontroller , use custom init methods like

-(id)initwithcustomstuff{    self = [super initwithstyle:uitableviewstylegrouped];    if (self) {        // custom stuff happening     } return self; } 

and see, forced tableview [super initwithstyle:] method uitableviewstylegrouped.

mostly got grouped table, devices iphone 5 ios7 , ipad mini 6.1.2 got uitableviewstyleplain.

note: week ago rebuilded view, because before used uiviewcontroller uitableview inside , other stuff, make uitableviewcontroller , removed .xib file , subviews don't needed.

maybe somehow referenced .xib? removed project , deleted , deleted outdated version devices.

after deleting class , making new 1 without .xib file, coping new header , source file solved problem. maybe random xcode caused using multiply versions of xcode in same time. still don't know real matter.


Comments