Authormayur.kore

How to create Passes for passbook in iOS6

H

Passes are everything in your pocket Apple’s simplified explanation of passes is that they are “everything in your pocket.” I like that line very much, because it demonstrates so well how imaginative you can and should be about creating your pass applications and services. Passes can be anything. “But what are they, anyway?”, you might ask. Well, here’s how a pass looks on the iPhone: You can...

Updates in iOS 6

U

A lot has happened in iOS 6 and apple has a document which you may read it from here. The above document will guide you out regarding the changes that has happened in iOS technology. UIKIT Framework In iOS 5.1, the UISplitViewController class adopts the sliding presentation style when presenting the left view (previously seen only in Mail). This style is used when presentation is initiated either...

UIRefreshControl in iOS6

U

  All our clients want to have a basic functionality when its regarding the data display in the table view and that is having a spinner at it’s top. To do this you have the EGORefreshDemo that is available and is a little bit tricky to handle but is quite cool.  In iOS 6 apple has been a little open hearted to provide you with a class named UIRefreshControl which is similar in fashion...

Create Horizontal UIPickerView (Custom)

C

So lets get started, first of all, all you need to do is drop a UIPickerView object on your view in the Interface Builder. Then in your .h file input: view plainprint? #import <UIKit/UIKit.h> @interface ViewController : UIViewController <UIPickerViewDelegate> { IBOutlet UIPickerView *pickerView; NSMutableArray *itemArray; } @property (nonatomic, retain)  UIPickerView *pickerView; @end...

Post Image on friends facebook wall

P

Note: Remember one thing image is a file and if you want to post a file on your friends wall then in that case you have to make use of a class named “FBGraphFile”. – (IBAction)postImageButtonclicked:(id)sender { if (fbgraphref!=nil) { NSMutableDictionary *variables = [[NSMutableDictionaryalloc]initWithCapacity:2]; FbGraphFile *fbfile = [[FbGraphFile alloc]initWithImage:imgv...

Showing a Popover in iPad

S

The UIPopoverController class (for iPad) is a very neat way to present information to the user. In this blog, we’ll show how to use this class to present a popover view when the user touches a button. Let’s see how it works. Start Xcode, click on “Create a new Xcode project,” and select the Single View Application template. Name the project PopoverDemo, and choose options as shown here: Click...

Unzipping Files In iOS Using ZipArchive

U

In this tutorial, I am going to demonstrate how you can zip and unzip files from within your iOS applications. We will be using a third party library called ZipArchive to achieve this. While there are a couple solutions out there to zip and unzip files, I feel that the ZipArchive library was the fastest and easiest way to get up and running. Why Would I want To Unzip Files? That’s a great...

Send Email With Attached Files from Iphone application

S

step 1 : – add MessageUI framework step 2 : #import “MessageUI/MessageUI.h” – add MFMailComposeViewControllerDelegate to .h file step 3 : – code in .m file on an clicked event of send Button if ([MFMailComposeViewController canSendMail]) { // csv file path details for attachments NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory...

Data Sharing on iCloud from iPhone/iPad with iOS 5.0

D

In Apple’s recent release iOS 5.0, major feature is iCloud service. iCloud is the service for sharing data of your application which is running in different devices. iCloud service can be use in application many different ways i.e. data sharing (where you can set values on key like for application NSUserDefaults), Document sharing and database sharing by using core data. For iCloud...

Dropbox Integration in Iphone

D

Requirements: 1. You need the 4.0 version of the iPhone SDK. The version of your XCode should be at least 3.2.3. 2. You need to have registered as a Dropbox application with mobile access at . You should have a consumer key and secret. 3. You need to download the dropbox sdk from  A. Adding DropboxSDK to your project 1. Open your project in XCode 2. Right-click on your project in the group tree...

Category