123456789101112131415161718192021222324 |
- #import "AppDelegate.h"
- #import "TestAgrobusinessUnconditionedStrTool.h"
- @interface AppDelegate ()
- @end
- @implementation AppDelegate
- - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- [[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
- return YES;
- }
- - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(nonnull NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options {
- [[FBSDKApplicationDelegate sharedInstance] application:application openURL:url options:options];
- return YES;
- }
- - (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{
- if (window.rootViewController.presentedViewController.parentViewController != nil) {
- return UIInterfaceOrientationMaskAll;
- }
- return UIInterfaceOrientationMaskLandscape;
- }
- @end
|