Use AWS service to download/upload files in your applications.

If you want to add AWS services into your existing application then you can by two different way:

1) CocoaPods

2) Frameworks

I am going to explain here only using cocoapods.

To start you need cocoapods in your machine, if it does not then you can installed it by running command in the terminal.

$ sudo gem install cocoapods

Then run the following code.

$ pod install

To install the cocoapods you can also follow some tutorials. Over the google you can find many more.

http://creativeiphonecoding.blogspot.in/search?updated-max=2014-10-15T02:53:00-07:00&max-results=7&start=5&by-date=false

Now open up *.xcworkspace with Xcode and start using the SDK.

You have to first purchase AWS account access and get these credentials :

accountId:@“xxxxxxxx”

identityPoolId:@”xxxxxxxx-xxxxxxxx”

unauthRoleArn:@”xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx“

I have created sample which I uploaded on cloud. Please download using below link and start exposure.

https://drive.google.com/file/d/0BxT2bDKJPoY0MmJTc3E3dmtiZEk/view?usp=sharing

Leave a comment