mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
SegmentedVC: Notify its child on viewWillAppear/viewDidAppear.
This fixes the room selection in master when playing when doing screen rotation with the splitVC.
This commit is contained in:
@@ -143,6 +143,18 @@
|
||||
[self createSegmentedViews];
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated
|
||||
{
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
if (_selectedViewController)
|
||||
{
|
||||
// Make iOS invoke child viewWillAppear and viewDidAppear
|
||||
[_selectedViewController beginAppearanceTransition:YES animated:animated];
|
||||
[_selectedViewController endAppearanceTransition];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)createSegmentedViews
|
||||
{
|
||||
NSMutableArray* labels = [[NSMutableArray alloc] init];
|
||||
|
||||
Reference in New Issue
Block a user