Forum Xamarin.iOS


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

InAppPurchase quantity problem

Reak45Reak45 PLMember

I have encoutered a very strange issue. I am not able to set a quantity of item I'd like to buy. Here is my code:
SKPayment payment = SKPayment.PaymentWithProduct("my product's id);
payment.Quantity = 4;
When I build my code it throws an error "Property or indexer MonoTouch.StoreKit.SKPayment.Quantity cannot be assigned to(it is read-only).
Can someone tell me, why this error occures, and how to fix it? Thanks.

Sign In or Register to comment.