iOS - Upload image to blob storage RRS feed

  • Question

  • How do you upload an image to blob storage using the mobile services for iOS? I have not seen any good examples or tutorials on how to do this. I'm currently grabbing the table and inserting an item into this table which seems to work but not entirely sure how the image is actually uploaded.

    - (void)addImage:(NSDictionary *)itemDict completion:(completionWithIndexBlock)completion
        MSTable *activeUsersTable = [self.client getTable:@"ActiveUsers"];
        [activeUsersTable insert:itemDict completion:^(NSDictionary *result, NSError *error) {
            NSLog(@"result = %@", result.description);
            NSLog(@"error = %@", error.description);

    Monday, March 25, 2013 4:14 PM


  • Hi,

    Nick Harris has a great post that shows how to use blob storage (best for binary, images, videos etc) with Mobile Services: http://www.nickharris.net/2012/09/windows-8-how-to-upload-an-image-using-a-blob-storage-sas-generated-by-windows-azure-mobile-services/

    The example client is Windows 8, but you should be able to fairly easily translate to the iOS client. 

    Let me know if you have any questions about the details - we should be able to help you map from C# / Win8 to Obj C and iOS.


    Tuesday, March 26, 2013 7:17 PM

All replies