Posts

Showing posts from April, 2014

iOS Login facebook SDK

First go to  Developers facebook  in SDKs title iOS turn left. 'download the sdk' and let's start! - Xcode Create Project - Add SDK facebook to project 'FacebookSDK.framework' - new file objective-c  file name 'FacebookLogin' subclass of UIViewController  and allow also create XIB file in project we have file FacebookLogin.h , FacebookLogin.m , FacebookLogin.xib , AppDelegate.h , AppDelegate.m - start FacebookLogin.h file following code this > #import <FacebookSDK/FacebookSDK.h> - in FacebookLogin.m file #import "FacebookLogin.h" #import <FacebookSDK/FacebookSDK.h> @interface FacebookLogin () < FBLoginViewDelegate > @property ( strong , nonatomic ) IBOutlet FBProfilePictureView *profilePic; @property ( nonatomic , strong ) IBOutlet UILabel *idLabel; @property ( nonatomic , strong ) IBOutlet UILabel *firstnameLabel; @property ( nonatomic , strong ) IBOutlet UILabel *birthDayLabel;...

Push notifications to users by using Mobile Services [iOS]

Image
This tutorial walks you through these steps to update push notifications in your app: Create the Devices table Update the app Update server scripts Verify the push notification behavior Create the new Devices table Log into the  Azure Management Portal , click  Mobile Services , and then click your app. Click the  Data  tab, and then click  Create . This displays the  Create new table  dialog. Keeping the default  Anybody with the application key  setting for all permissions, type  Devices  in  Table name , and then click the check button. This creates the  Devices  table, which stores the device tokens used to send push notifications separate from item data. Next, you will modify the push notifications app to store data in this new table instead of in the  TodoItem  table. Update your app In Xcode, open the QSTodoService.h file and add the following method declaration...

Connect mobiles service with windows azure for insert/delete/update data schemaAppmobileData [iOS]

Image
Manage Service Azure 1. Create mobileService in Windows Azure 2. Create database in mobile service name 'myTable' download iOS SDK และ Connect app in quickstart windowsAzure Connect your app In your Xcode project, add the Mobile Services libraries to your project. Drag the  WindowsAzureMobileServices.framework  folder from the Finder into your project, as shown below. Add the import to your  AppDelegate.h  file: #import <WindowsAzureMobileServices/WindowsAzureMobileServices.h> Add the following public property @property (strong, nonatomic) MSClient *client; Add the following code to your  AppDelegate.m  file in the  application:didFinishLaunchingWithOptions  operation: self.client = [MSClient clientWithApplicationURLString: @"https://[URL MobileService Create].azure-mobile.net/" applicationKey: @"XXXXXXXXXXXXXXXXXX" ]; 3. Add SDK Azure to project 4. coding ...