Inheritance: UIViewController
Example #1
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            if(string.IsNullOrEmpty(kAppId))
            {
                throw new Exception("Your Facebook Application Id must be set before running this example. "
                                        + "See http://www.facebook.com/developers/createapp.php");
            }

            facebook = new FacebookSdk.Facebook(kAppId);

            DemoAppViewController vc = new DemoAppViewController(facebook);
            // If you have defined a view, add it here
            window.AddSubview(vc.View);
            window.MakeKeyAndVisible ();

            return true;
        }
Example #2
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            if (string.IsNullOrEmpty(kAppId))
            {
                throw new Exception("Your Facebook Application Id must be set before running this example. "
                                    + "See http://www.facebook.com/developers/createapp.php");
            }

            facebook = new FacebookSdk.Facebook(kAppId);

            DemoAppViewController vc = new DemoAppViewController(facebook);

            // If you have defined a view, add it here
            window.AddSubview(vc.View);
            window.MakeKeyAndVisible();

            return(true);
        }
 public SessionDelegate(DemoAppViewController vc)
 {
     _vc = vc;
 }
 public RequestDelegate(DemoAppViewController vc)
 {
     _vc = vc;
 }
 public DialogDelegate(DemoAppViewController vc)
 {
     _vc = vc;
 }
 public DialogDelegate(DemoAppViewController vc)
 {
     _vc = vc;
 }
 public RequestDelegate(DemoAppViewController vc)
 {
     _vc = vc;
 }
 public SessionDelegate(DemoAppViewController vc)
 {
     _vc = vc;
 }