iPhone

programmatically share image to Instagram through iOS app

Introduction to the post¬†programmatically share image to Instagram through iOS app Instagram is another most popular social platform for sharing images. Now days, every app share image to Instagram too. Since like other social platforms Instagram does not provide developers permission to write image directly on the user Instagram wall. So for this we can …

programmatically share image to Instagram through iOS app Read More »

UIProgressView Tutorial: Show download progress to users in IOS8

Tags: #UIProgressView #Tutorial #IOS8 #Download #Percentage                                               Most of the apps made are based on a centralised database and which means interactivity with server using internet. For app developers, its a common situation/scenario to …

UIProgressView Tutorial: Show download progress to users in IOS8 Read More »

UIActivityViewController IOS Tutorial

In this tutorial, we will learn about UIActivityViewController, is another nice way for providing user’s with lot of options to do with your app document such as image, text etc. and to share documents via Airdrop, printing document etc. It much more like UIDocumentInteractionController, but offers developer a more control than UIDocumnetInteractionController. If you are not familiar …

UIActivityViewController IOS Tutorial Read More »

Tips and Tricks – Part 3

In this article i am going to explain some of the programming solutions 1. Capture device screenshot programmatically     CGRect rect = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);    UIGraphicsBeginImageContextWithOptions(rect.size,NO,0.0f);    CGContextRef context = UIGraphicsGetCurrentContext();    [self.view.layer renderInContext:context];    UIImage *capturedImage = UIGraphicsGetImageFromCurrentImageContext();    UIGraphicsEndImageContext(); Here, in above code we first pass the rect which we want to capture as image.Then we …

Tips and Tricks – Part 3 Read More »

Get page number from UIScrollView

Getting page number from UIScrollView In order to get  page number form UIScrollView, we need to implement UIScrollView delegate method names   scrollViewDidEndDecelerating   This methods gets called when UIScrollView gets to halt or stopped after scrolling the content, Thus at this point we can get  the page number by calculating the width of UIScrollview …

Get page number from UIScrollView Read More »

UIDocumentInteractionController Tutorial

NOTE: ¬†Swift Version of UIDocumentInteractionController UIDocumentInteractionController Tutorial UIDocumentInteractionController is a powerful class available to iPhone developers that let developers to provide in app support to their users. For example a wallpaper application, that allows user’s to save wallpaper images in their photos app of the device. For this purpose developer has two options 1). Save …

UIDocumentInteractionController Tutorial Read More »

Difference between NSString and NSMutableString

Difference between NSString and NSMutableString  is a common interview question faced by every programmer and the most familiar answer to this is that one can append string in NSMutableString and not in NSString. So question arrived from other end,  any other difference you know?. As I can append string to NSString too. In this post …

Difference between NSString and NSMutableString Read More »