Inheritance: UIViewController
Ejemplo n.º 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;
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 6
0
 public DialogDelegate(DemoAppViewController vc)
 {
     _vc = vc;
 }
Ejemplo n.º 7
0
 public RequestDelegate(DemoAppViewController vc)
 {
     _vc = vc;
 }
Ejemplo n.º 8
0
 public SessionDelegate(DemoAppViewController vc)
 {
     _vc = vc;
 }