Example #1
0
    // move init to application didFinishLaunchingWithOptions
    public override void Init()
    {
        Class clsU8SDK = Class.FindByName("U8SDK");

        u8SDK  = clsU8SDK.Call("sharedInstance").Cast <NSObject> ();
        u8User = u8SDK.valueForKey("defaultUser").Cast <NSObject> ();
        u8Pay  = u8SDK.valueForKey("defaultPay").Cast <NSObject> ();

        u8SDK.Call("setupWithParams:", NSMutableDictionary.dictionary());
    }