FBSDKContainerViewController.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Copyright (c) Meta Platforms, Inc. and affiliates.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the license found in the
  6. * LICENSE file in the root directory of this source tree.
  7. */
  8. #if !TARGET_OS_TV
  9. #import <UIKit/UIKit.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @class FBSDKContainerViewController;
  12. /**
  13. Internal Type exposed to facilitate transition to Swift.
  14. API Subject to change or removal without warning. Do not use.
  15. @warning INTERNAL - DO NOT USE
  16. */
  17. NS_SWIFT_NAME(_ContainerViewControllerDelegate)
  18. @protocol FBSDKContainerViewControllerDelegate <NSObject>
  19. - (void)viewControllerDidDisappear:(FBSDKContainerViewController *)viewController animated:(BOOL)animated;
  20. @end
  21. /**
  22. Internal Type exposed to facilitate transition to Swift.
  23. API Subject to change or removal without warning. Do not use.
  24. @warning INTERNAL - DO NOT USE
  25. */
  26. NS_SWIFT_NAME(_ContainerViewController)
  27. @interface FBSDKContainerViewController : UIViewController
  28. @property (nullable, nonatomic, weak) id<FBSDKContainerViewControllerDelegate> delegate;
  29. - (void)displayChildController:(UIViewController *)childController;
  30. @end
  31. NS_ASSUME_NONNULL_END
  32. #endif