Ich stelle eine Ansicht als Hintergrund für uitableview ein. View hat einfach colorWithPatternImage.tableView backgroundView funktioniert nicht in iOS7
Es funktioniert korrekt in iOS6, aber in iOS7 hat es keine Wirkung, TableView Hintergrund bleibt nur weiß in iOS7. Ich verwende die Three20-Bibliothek.
Mein Code ist
UIImage *imgBackGround = [UIImage imageNamed: @"my_background.png"];
self.tableView.backgroundColor = [UIColor clearColor];
UIView *backView = [[UIView alloc] initWithFrame:self.view.frame];
[backView setBackgroundColor:[UIColor colorWithPatternImage:imgBackGround]];
self.tableView.backgroundView = backView;
[backView release];
self.view.backgroundColor=[UIColor colorWithPatternImage:imgBackGround];
Was Problem in iOS7 sein kann? Hilfe bitte, Vielen Dank im Voraus.
Wow, Sie verwenden immer noch Three20-Bibliothek? –