Beispiel #1
0
        //Game Center
        void ApplyGameCenterCapability(GameCenterCapability capability)
        {
            //update pbxproject
            _pbxproj.EnableSystemCapability("com.apple.GameCenter.iOS", true);
            _pbxproj.AddSystemFramework("GameKit.framework", LinkType.Required);
            //update info.plist
            var changes = new PListDictionary();

            changes.Add("UIRequiredDeviceCapabilities", new PListArray("gamekit"));
            ApplyInfoPlistChanges(changes);
        }
Beispiel #2
0
 public GameCenterCapability(GameCenterCapability other)
     : base(other)
 {
 }