FBSDKWebView.h 632 B

123456789101112131415161718192021222324252627282930
  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. #import <WebKit/WebKit.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. NS_SWIFT_NAME(WebView)
  13. @protocol FBSDKWebView
  14. @property (nullable, nonatomic, weak) id<WKNavigationDelegate> navigationDelegate;
  15. @property (nonatomic) CGRect frame;
  16. @property (nonatomic) CGRect bounds;
  17. - (nullable WKNavigation *)loadRequest:(NSURLRequest *)request;
  18. - (void)stopLoading;
  19. @end
  20. NS_ASSUME_NONNULL_END
  21. #endif