iOS: Passbook

Cómo añadir Passbook en nuestras aplicaciones iOS Ficheros necesarios Necesitamos en una carpeta los siguientes ficheros: icon.pngicon@2x.pnglogo.pnglogo@2x.pngmanifest.json pass.json strip.pngstrip@2x.png Los creamos: Creamos un fichero...

Read More

iOS: How to take a screenshot programmatically

Consideringretina displayuse below code : #import if ( respondsToSelector:@selector(scale)]) UIGraphicsBeginImageContextWithOptions(self.window.bounds.size, NO, .scale);else UIGraphicsBeginImageContext(self.window.bounds.size);;UIImage *image = UIGraphicsGetImageFromCurrentImageContext();UIGraphicsEndImageContext();NSData * imgData = UIImagePNGRepresentation(image);if(imgData) [imgData...

Read More

Copyright © 2019 Soulmedic Theme All Rights Reserved | Design Themes

Atomic Flavor