NSUrlRequest works in simulator but not on iphone

I have an app which records sound from microphone and then sends it to my website through NSUrlRequest. To test it, I added that audio is played from website so I can hear if it worked. When I test it on simulator, everything works fine: audio is re...
more »

2017-07-17 13:07 (1) Answers

iOS swift Cache Policy

I am working with Afnetworking API, when I have bad internet connection API takes lots of time to load. So I have decided to use Cache policy Singleton.sharedInstance.requestSerializer.cachePolicy = .returnCacheDataElseLoad It works fine but when I ...
more »

2017-05-19 17:05 (0) Answers

canOpenURL: Always Fails

I'm always getting this response even I already add it to my LSApplicationQueriesSchemes <key>LSApplicationQueriesSchemes</key> <array> <string>fbapi</string> <string>fb-messenger-api</strin...
more »

2016-10-25 11:10 (0) Answers