Questions tagged [mknetworkengine]
14 questions
6
votes
1 answer
What's the alternative for kSecTrustResultConfirm in iOS 7?
Our old app uses MKNetworkKit and MKNetworkOperation.
Now under iOS 7 kSecTrustResultConfirm is deprecated.
In MKNetworkOperation, there is this code:
else if(result == kSecTrustResultConfirm) { // DEPRECATED
…

openfrog
- 40,201
- 65
- 225
- 373
6
votes
1 answer
MKNetworkKit operation doesn't resume/complete when reachability changes
I'm new to MKNetworkKit, but I've been able to add it to my project and it's perfectly working except when dealing with reachability changes.
Here is the situation:
I disable WiFi and run the app.
Even without reachability, I request (using POST)…

msoler
- 2,930
- 2
- 18
- 30
2
votes
0 answers
MKNetworkKit files error After adding the MKNetworkEngine as a subclass
After adding the MKNetworkEngine as the subclass and added pods of MKNetworkKit while compiling project shows unwanted errors.

iApple
- 252
- 1
- 12
2
votes
1 answer
How to disable caching in MKNetworkKit or MKNetworkEngine?
I'm trying to use MKNetworkEngine but the headers talk about caching. This is totally bad for my app which needs to download currency exchange rate JSON files and caching is a no-go.
Is there a way to turn caching off for the whole MKNetworkEngine…

Proud Member
- 40,078
- 47
- 146
- 231
1
vote
0 answers
How can I cancel a GET Request on popping up the views using MKNetworking, I don't want it to freeze and resume later
MKNetworkEngine *engine = [[MKNetworkEngine alloc] initWithHostName:@"support.sample.com" customHeaderFields:nil];
MKNetworkOperation *op = [engine operationWithPath:YAHOO_URL(@"abc123@gmail.com", @"123") params:nil httpMethod:@"GET" ssl:YES];
[op…

namerbenz
- 599
- 1
- 4
- 8
1
vote
0 answers
MKNetworkKit and authentication
I just switched from ASIHTTPRequest to MKNetworkKit, anyway I'm facing the following issue, the post request have this kind of url https://username:pass@hostname.com, when I make the request using MKNetworkKit I always receive a 403 error. below the…

oiledCode
- 8,589
- 6
- 43
- 59
1
vote
1 answer
MKNetworkkit: Fetching JSONArray from server
I am using MKNewtworkkit for networking operation is my ios app. I have JSONInterface in server through which i can retrieve JSONArray. I am able to fetch data in android app and browser as well, But when i try to ftech data using MKNetworkkit …

Venu Gandhe
- 77
- 1
- 8
1
vote
1 answer
MKNetworkKit caching not working
Am facing thi really unusual problem with MKNetworkKit caching. In simple word's the problem is that "It is not working"..!
I have created a simple test project which has the problem. The project does nothing, but just makes a simple GET request…

akshaynhegde
- 1,938
- 3
- 17
- 36
0
votes
1 answer
How can I access to my webservice outside my lan
I've created a webservice with nodeJs and Express.
In the lan I can access with 192.168.0.xxx:8080, but now I wanna access since other place outside the lan, I need help I don't know how can I do it

Andrés
- 11
- 3
0
votes
1 answer
Recieve image from IOS mknetwork to php server
I am sending image through MKnetwork to php server... on php side the image is recieved in $_POST instead of $_FILES... here is my code from ios side
UIImage *image = [UIImage imageWithContentsOfFile:fullImgPath];// fullpath contains the path of…

abh
- 1,189
- 2
- 14
- 30
0
votes
1 answer
MKNetworkEngine doesn't fire its methods
I'm trying to load a set of images from a web service to a UICollectionView and I'm using MKNetworkKit to handle the networking operations.
This is bit a of a strange problem because it works in one scenario and doesn't in another. Please bear with…

Isuru
- 30,617
- 60
- 187
- 303
0
votes
2 answers
Uploading image iOS to PHP with MKNetworkEngine - I know it works, but cannot get PHP to capture
I created an iOS application which uploads an image taken by the camera to a server using the MKNetworkEngine, as outlined in the following tutorial
If I set the host to posttestserver.com, a public POST testing server as the name suggests, it…

woody121
- 358
- 3
- 14
0
votes
1 answer
Downloading large file with MKNetworkKit results in an empty file
I'm trying to download a large file with MKNetworkKit (iOS7). Currently using the code below:
- (MKNetworkOperation*)downloadFile: (NSString*)url :(NSString*)output {
NSString* fullPath = [documentsPath stringByAppendingPathComponent:output];
…

Ray Y
- 1,261
- 3
- 16
- 24
0
votes
3 answers
MKNetworkOperation failedWithError : unsupported URL
i just started using MKNetworkKit for my networking operations and i have tried to simply get some data from the server using these MKNetworkOperation but it rendered me a strange error .. really strange on which is : Unsupported URL , i searched a…

Meseery
- 844
- 6
- 11