Prepare UX rework:

- Hide the home tab which is not available FTM
This commit is contained in:
Giom Foret
2017-04-28 16:11:00 +02:00
parent 3d4a1eadd8
commit af33dc16b9
3 changed files with 13 additions and 0 deletions
+9
View File
@@ -40,6 +40,15 @@
// Add room creation button programmatically
[self addRoomCreationButton];
// TODO: Implement the new home screen.
// Hide the table view FTM.
self.recentsTableView.hidden = YES;
UIImageView *sheltieWaiting = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"sheltie-waiting-porch.jpg"]];
sheltieWaiting.frame = self.view.frame;
sheltieWaiting.autoresizingMask = (UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin);
sheltieWaiting.contentMode = UIViewContentModeScaleAspectFit;
[self.view addSubview:sheltieWaiting];
// self.searchBar.autocapitalizationType = UITextAutocapitalizationTypeNone;
// self.searchBar.placeholder = NSLocalizedStringFromTable(@"search_default_placeholder", @"Vector", nil);
}