AWS Cognito User Pools with mobile sdk for iOS using custom challenge

I was integrating AWS Cognito user pool to an iOS application. The sign in feature is using custom challenge for authentication, but there is a lack of documentation about how to use the iOS sdk. After many trial and errors, I have finally able to sign in success, so I’m going to document the steps… Continue reading AWS Cognito User Pools with mobile sdk for iOS using custom challenge

Fix iOS 10 permission crashes error

I am developing an app with request access to user’s microphone. It was working fine with iOS 9, but since upgrade to iOS 10, it terminates with error message shown in the terminal: This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSMicrophoneUsageDescription… Continue reading Fix iOS 10 permission crashes error

Connection between .h and .m files in Objective-C

When first open an objective-C project in X-code, the .h and .m files looks confusing. It is important to understand the simple connections and the hidden codes behind the scene. They are used to separate between the public and private parts of the class. The .h file is a header file for public declarations of your class like… Continue reading Connection between .h and .m files in Objective-C