Kids mobile blocked by parent using MDM
Hey kids you can remove your iPhones restriction added by any MDM provider. Just go to your phones Settings->general->profiles and delete any profile marked MDM(other then you installed).
Hey kids you can remove your iPhones restriction added by any MDM provider. Just go to your phones Settings->general->profiles and delete any profile marked MDM(other then you installed).
Pre iOS 8 it was enough to allocate location manager object to generate a permission request locationManager=[[CLLocationManager alloc] init]; but post iOS8 things have changed, in order to initiate the the request for location information you have to do following steps Add keys in info plist NSLocationWhenInUseUsageDescription : against… Read more »
Hi All There are always disadvantages of retaining “self” in side block we can work around it using __block or __weak ref of self. but the ideal way is as we call it strong weak dance. it goes like this __weak typeOf(self)ref=self; //making weak ref of self ^( ){ __strong… Read more »
Hi, If ever you feel the need to repeat a task after say 5 seconds and you feel nastimer is too clumsy to use then you can use… void runBlockEveryMinute(int *breakCondition, dispatch_block_t block) { if(*breakCondition==0) { return; } block(); // initial block call // get the current time struct… Read more »
HI, If you are making an application which targets middle east then you will come across a payement gateway provider gate2play .The apis mentioned are al for web portal and FAQ states that it can be used on mobile platform but Ok so i spend my whole day and finally… Read more »
Hi There I came across the idea image view category which could provide for caching the downloaded image and also provide for ignoring the cache if required. Inspired by impressive AFNetworking category of UIImage view i went on to write my own ASImageView modified version. Now i put it to… Read more »
Hi If developing a app at times you are required to upload files. As i got stuck many times so i thought about writing most common way of uploading. UpDate for AFNetworking 3.0 AFNetworking 3.0 is NSURLSession based. NSMutableURLRequest *upload_request = [[AFHTTPRequestSerializer serializer] multipartFormRequestWithMethod:@”POST” URLString:@”<path_URL>” parameters:nil constructingBodyWithBlock:^(id<AFMultipartFormData> formData) { [formData appendPartWithFileData:data… Read more »
Hi We all know how recursion can simplify code.It gives further more control when used through blocksBut the disadvantage of recursion is the memory keeps piling up till the very end. recently i implemented recursion using blocks in an iOS project but i placed the call to the function in… Read more »
Hi Most of us are familiar with the run button at the top left toolbar section of XCode.But i some how changed it to test button accidentally. Its not an issue but the small arrow at the bottom, on which you will click intuitively will disappoint you. The trick is… Read more »