ios

Load and autoplay on mobile

(sorry for my English, I use google translation) I developed this http://www.coran-francais.com/en/english-quran-surah-1-0.html which works well on computer but does not work on some android and iphone. This is due to the ban on autoplay I look at how continuous playback on these devices but I do not know how? This is how my audio files list http://medias.coran-francais.com/son-arabe/english/ Thanks for your…
Read more

Swift compiler error after upgrading to El-Capitan

I am working on a project developer in Swift. My project was working fine until I upgraded to El-Capitan. As I opened xcode project I am getting this error Opening import file for module ‘Swift’: Permission denied I had refer similar questions on SO but it doesn’t solve my problem. I am adding a sreenshot for more clarity Please can…
Read more

unable ti display the son if reposen code is 400 in afnetworking?

I am using AFNetworking make post request to server.If my response code is 400 then i am not able to print the json response. This is my code AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys: @”123″, @”post_id”, arr_friendsTags, @”tagged_user”, nil]; AFJSONRequestSerializer *requestSerializer = [AFJSONRequestSerializer serializer]; [requestSerializer setValue:@”application/json” forHTTPHeaderField:@”Accept”]; [requestSerializer setValue:api_key forHTTPHeaderField:@”Authorization”]; manager.requestSerializer = requestSerializer; AFJSONResponseSerializer *responseSerializer =…
Read more

Realm for storing one set of key-value pairs

I want persistence storage for my app, I came across Realm, but now I think its just too heavy for what I am trying to do. Basically I have data in JSON format(which I fetch every time the app starts, I want to store it in a variable(in a Dictionary) so I can access it from different screens of my…
Read more

Transfer App option not available iTunes Connect

I have created a app long time ago on my iTunes account and now i would like transfer it on different iTunes account. After googling i found transfer app is available at under App information > Additional information > Transfer App like here But i am unable to find Transfer app option on my account like here. I have already…
Read more

How is Apple able to provide indoor location using CoreLocation?

I found this Sample Code at Apple’s Developer Site: https://developer.apple.com/library/ios/samplecode/footprint/Introduction/Intro.html The discription says: Use Core Location to take a Latitude/Longitude position and project it onto a flat floorplan. Demonstrates how to do the conversions between a Geographic coordinate system (Latitude/Longitude), a floorplan PDF coordinate system (x, y), and MapKit. I have tried it and it works really well. Basically, you…
Read more

Unable to hit server with soap

error = Error Domain=NSURLErrorDomain Code=-1002 “unsupported URL” UserInfo={NSLocalizedDescription=unsupported URL, NSUnderlyingError=0x7f9205a02aa0 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 “(null)”}} I am getting this error when i am hitting the server. NSString *strurl = [NSString stringWithFormat:@”http://%@/WebInterface/upApp_anmai.aspx?validateXml=%@”, [UserInfo sharedInstance].IP, AESvalidateXml]; NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:strurl]]; request.HTTPMethod = @”POST”; request.HTTPBody = ***; But if like this NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@”http://181.125.78.237:81/ANMAIjz/WebInterface/upApp_anmai.aspx?validateXml=aEIakcuDeemSjpC5S/hr7+w+CDFLLfpEnZXZwYqAQx9a/NZsP6A4zYhgXX/ynAskPNLVgzuzt1iHgECXLyXCvsfj+c7WT6W7tLnuF050jBk4Yx2+Sk29GmjvzeYSGzrAirxZok3v//gwDU/VBORoxkc6LhlWHVb3c42clXixJB+GkJr2nRZpJgs48U4n1fVd”]]; it will be ok Please…
Read more

How to retain Remove Ads in app purchase after app has closed

I have successfully removed ads from the app with an in app purchase. The problem is that if I close the app and reopen. The ads start up again. I have 2 main scenes. The GameOverScene and the GameScene. The In App Purchase happens in the GameOverScene. GameOverScene.m : -(void) OnRemoveADS { [self showPurchaseAlert: IAP_Q_RemoveADS :0]; g_bRemoveADS = [[NSUserDefaults standardUserDefaults]…
Read more

Can Xcode 7 working in Hackintosh?

I want to study Swift to develop IOS apps. But I don’t have a Mac computer. So Can I using hackintosh(10.10.4) instead of macintosh? and can Xcode 7 working in hackintosh? Have anyone tried it? Thank You. Source: ios