ios inn app purchase - product identifiers
TRANSCRIPT
DESARROLLO PARA
PLATAFORMASMÓVILES
PRODUCT INDENTIFIERS
UPC-EPEERNESTO ARIAS VUCETICH – U201000079
19/11/2012
1• ¿Qué son y para que sirven?
2• Nomenclatura
3• ¿Cómo se implementa en mi
aplicación?
Agenda
¿Qué son y para que sirven?
Es un string que sirve para identificar de manera
única a un producto en el App Store.
Sólo puede contener caracteres alfanuméricos,
underline (_) y el punto (.)
Nomenclatura
Se puede utilizar cualquier nomenclatura; sin
embargo apple recomienda el estilo reverse
domain (com.companyname.application.productid)
Referencia https://developer.apple.com/library/ios/#qa/qa1329/_index.html
¿Cómo se implementa en mi aplicación?
Referencia https://developer.apple.com/library/ios/#qa/qa1329/_index.html
SKProductRequest initWithProductIdentifiers
MétodoObjeto App Store
Info del Producto
¿Cómo se implementa en mi aplicación?
Referencia https://developer.apple.com/library/ios/#qa/qa1329/_index.html
- (void) requestProductData
{
//Create a list of product identifiers
NSSet *productSet =[NSSet setWithObjects: @"com.apples.mygreatapp.consumable1",
@"com.apples.mygreatapp.sport7days",nil];
//Create and initialize a products request object with the above list
SKProductsRequest *request = [[SKProductsRequest alloc] initWithProductIdentifiers: productSet];
//Attach the request to your delegate
request.delegate = self;
//Send the request to the App Store
[request start];
}
Información adicional
Para mayores detalles puedes consultar el siguiente enlace:
https://developer.apple.com/library/ios/#qa/qa1329/_index.html