iOS SDK Version

FBSDKContextWebDialog

  @interface 
 FBSDKContextWebDialog 
 : 
 NSObject 
 
Context web dialog for the all context api dialogs executed in a browser
  • The current web dialog that shows the web content

    Declaration

    Objective-C
      @property 
     ( 
     nullable 
     , 
     nonatomic 
     , 
     strong 
     ) 
     FBSDKWebDialog 
     * 
     currentWebDialog 
     
    
    Swift
      var 
     currentWebDialog 
     : 
     UnsafeMutablePointer 
     < 
     Int32 
     > 
     ? 
     { 
     get 
     set 
     } 
     
    
  • Unavailable
    Undocumented

    Declaration

    Objective-C
      + 
     ( 
     instancetype 
     ) 
     new 
     NS_UNAVAILABLE 
     ; 
     
    
  • Initializer to be used by subclasses.

    Declaration

    Objective-C
      - 
     ( 
     nonnull 
     instancetype 
     ) 
     initWithDelegate 
     : 
     ( 
     nonnull 
     id 
     < 
      FBSDKContextDialogDelegate 
     
     > 
     ) 
     delegate 
     ; 
     
    
    Swift
      init 
     ( 
     delegate 
     : 
     ContextDialogDelegate 
     ) 
     
    
  • Depending on the content size within the browser, this method allows for the resizing of web dialog

    Declaration

    Objective-C
      - 
     ( 
     id 
     ) 
     createWebDialogFrameWithWidth 
     :( 
     id 
     ) 
     width 
     height 
     :( 
     id 
     ) 
     height 
     windowFinder 
     :( 
     nonnull 
     id 
     ) 
     windowFinder 
     ; 
     
    
    Swift
      func 
     createWebDialogFrame 
     ( 
     withWidth 
     width 
     : 
     Any 
     ! 
     , 
     height 
     : 
     Any 
     ! 
     , 
     windowFinder 
     : 
     Any 
     ) 
     -> 
     Any 
     !