My Blog 155 posts

notes & snippets
Load Facebook Image
With AFNetworking
NSString *imageUrl = [NSString stringWithFormat:@"http://graph.facebook.com/%@/picture?type=square", @"100003703755434"];
[self.imageView setImageWithURL:[NSURL URLWithString:imageUrl] placeholderImage:[UIImage imageNamed:@"profile.jpg"]];

Image load Sync
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://graph.facebook.com/%@/picture?type=square", @"100003703755434"]];
UIImage *image = [UIImage imageWithData: [NSData dataWithContentsOfURL:url]];
[self.imageView setImage:image];
Generate Apple push notification APNS KEY for ASP.NET
openssl x509 -in aps_development_mms_notif.cer -inform DER -out aps_developer_identity.pem -outform PEM
openssl pkcs12 -nocerts -out APSCertificates.pem -in Certificates.p12
openssl pkcs12 -export -in aps_developer_identity.pem -out aps_developer_identity.p12 -inkey APSCertificates.pem




openssl x509 -in aps_production_mms_notif.cer -inform DER -out aps_developer_identity.pem -outform PEM
openssl pkcs12 -nocerts -out APSCertificates.pem -in Certificates.p12
openssl pkcs12 -export -in aps_developer_identity.pem -out aps_developer_identity_mms_prod.p12 -inkey APSCertificates.pem


http://stackoverflow.com/questions/3142095/add-iphone-push-notification-using-asp-net-server
1 2 3 4 5 6 7 8 9 10 »