I'm having a problem with the code below. It works in Development build but Apple says does not when Deployment build sent to them... Any thoughts? Apple says, "Nothing happens" when they tap the button to activate the sheet...
var actionSheet = new UIActionSheet("Choose Subscription")
{"Up to 100MB, $399","Up to 1GB, $499","Up to
10GB, $799","Unlimitted,
$999","Cancel"};
actionSheet.Style =
UIActionSheetStyle.BlackTranslucent;
actionSheet.CancelButtonIndex = 4;
actionSheet.ShowInView(this.View);
actionSheet.Clicked += delegate(object sender,
UIButtonEventArgs e) {
switch (e.ButtonIndex) {
case 0:
subSKU = "sku1";
break;
case 1:
subSKU = "sku2";
break;
case 2:
subSKU = "sku3";
break;
case 3:
subSKU = "sku4";
break;
case 4:
subSKU = "";
break;
}
if(subSKU != "")
{
Console.WriteLine("SKU
"+subSKU);
InAppPurchaseManager storeKit =
new InAppPurchaseManager(subSKU);
storeKit.LoadStore();
if(storeKit.canMakeProUpgrade())
{
storeKit.PurchaseProUpgrade();
}
}
};
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/ActionSheet-problem-tp3684121p3684121.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch
