fixed "dismissModalViewControllerAnimated is deprecated" warning when compiling the SDK with deployment target 6.0
Merge pull request #33 from Soph/develop

fixed warning "dismissModalViewControllerAnimated is deprecated"