Facebook.PostViewController.ViewDidLoad C# (CSharp) Method

ViewDidLoad() public method

public ViewDidLoad ( ) : void
return void
        public override void ViewDidLoad()
        {
            base.ViewDidLoad ();
            // no XIB !
            webView = new UIWebView()
            {
                ScalesPageToFit = false
            };
            webView.LoadHtmlString(FormatText(), new NSUrl());

            // Set the web view to fit the width of the app.
            webView.SizeToFit();

            // Reposition and resize the receiver
            webView.Frame = new RectangleF (0, 0, this.View.Bounds.Width, this.View.Bounds.Height);

            // Add the table view as a subview
            this.View.AddSubview(webView);
        }