Create PlaceholderDetailViewController a placeholder detail view controller for UISplitViewController.

This commit is contained in:
SBiOSoftWhare
2020-09-04 10:47:56 +02:00
parent 0c00f932a8
commit f51ee1200d
4 changed files with 88 additions and 9 deletions

View File

@@ -0,0 +1,31 @@
/*
Copyright 2017 Vector Creations Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#import "RiotSplitViewController.h"
@implementation RiotSplitViewController
- (UIViewController *)childViewControllerForStatusBarStyle
{
return self.viewControllers.firstObject;
}
- (UIViewController *)childViewControllerForStatusBarHidden
{
return self.viewControllers.firstObject;
}
@end