ArchiveJanuary 2014

How to check Newtwork Reachability in iOS

H

First Download Reachability files from here: Click Here Step 1: write below code in AppDelegate.h file. #import “Reachability.h” @class Reachability; //Rechability int internetconnectioncheck; Reachability *internetReachable; Reachability *hostReachable; UIAlertView *internetalert; BOOL Net_chkFlag; @property BOOL Net_chkFlag; Step 2: write below code in AppDelegate.m file. file in...

Simple way to post on Facebook wall

S

The UIActivityViewController class is a standard view controller that you can use to offer various services from your application. The system provides several standard services, such as copying items to the pasteboard, posting content to social media sites, sending items via email or SMS, and more. Apps can also define custom services. If you want to share some message or image with social...

Loading images in background (Lazy Loading).

L

Some times we need to take images from server and on clicking performing some actions. This code help you how to get one by one images and displaying into the app. Step 1: Decalre NSMutablearray *ImgPathArr in .h file. in .m File add below all methods Step 2: Call below method, use your web service and add all ImagePath into ImgPathArr. -(void)LoaMoreBooksAppImg { ImgPathArr = [[NSMutableArray...

Category