mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 05:36:57 +02:00
Search API Support: set up SearchViewController in the storyboard
This commit is contained in:
@@ -112,7 +112,14 @@
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
|
||||
|
||||
// Check whether the view controller has been pushed via storyboard
|
||||
if (!self.viewControllerContainer)
|
||||
{
|
||||
// Instantiate view controller objects
|
||||
[[[self class] nib] instantiateWithOwner:self options:nil];
|
||||
}
|
||||
|
||||
// Adjust Top
|
||||
[self removeConstraint:self.view constraint:self.selectionContainerTopConstraint];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user