Featured
-
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi -
Make UIImage White Background Transparent in iOS
If you came across to a requirement where you want
by ashish.nakoti -
User's location update on server when app is in background.
Code for those Apps where we need to update user's
by ashish.nakoti -
Animate button with zoom and bounce effect in ios
Many social apps are using bouncing effect for but
by ashish.nakoti -
Crop an image from UIImageView
With the following method stated below you can cro
by kuldeep.butola
Tags
Top 10 iPhone App Development Companies in 2019
The substance of iPhone application showcase is continually changing. The iPhone application improvement organizations are trying their best in creating top iPhone applications. Those will be the ones that will take a few minutes to...
Create iOS App Store Distribution Provisioning Production Certificate in 5 Steps
Production certificate is used to identify the concerned organization with the help of distribution provisioning profile. If you want to upload your application to Apple App Store, production certificate allows you to submit your application in A...
How can You Find Best iPhone App Developer for iOS Product Development?
There are a million iPhone application development platform options to create iPhone apps. And more freelance iPhone app developers. All you need to do is do a Google search. However, finding good iPhone app development platforms is a challenge. ...
How to Build Chat Application in iOS Swift3 Using Firebase for iPhones?
Before moving on to the topic first of all you must be aware with Firebase, if not then please, do visit this my last tutorial on How to Register Realtime User Information at Firebase in iOS. It will clear you about how to get...
How to Register Realtime User Information at Firebase in iOS App
Firebase is a realtime database where we can store the information and can check whether data got saved or not in Firebase. Here is a simple example of creating a project and connection of the project with Firebase, so, here we go.
...
How to Show UICollectionView in UITableViewCell Using Swift in iOS App
We can easily create a simple table view to show the data in tabular format but if we need to show UICollectionView inside the UITableViewCell then it become a challenging task for the beginners. So here is an easy tutorial, to get the concept of...
How to Play, Record & Save Videos in Swift3 iOS App in iPhone
If you have ever tried to play, record and save a video using iOS Swift 3 language and found difficulty or messy code, then today in this tutorial, I am here with a simple and easy example for you. Lets's discuss all the aspects one by one.
...
How to Implement Custom Camera Functionality using Swift3 iOS App
To Implement camera functionality in iOS, we use Image Picker Controller but if we need to change the style and functionality other than of Image Picker Controller then we need to create a custom camera. So, in this tutorial, we will see an examp...
2 Easy Steps to Implement PageViewController in iOS Swift 3 Application
The user can easily navigate between the pages of content in which each page is managed by its own view controller objects. screen navigation is controlled by the user gestures. Once UIPageViewController interface is defined, you can add the View...
Learn How to Integrate Google Login SDK Using Swift in iOS - 3 Easy Steps
To integrate your iOS app with Google for allowing login from Google, Share and other features we need integration by Google login SDK. So in this tutorial, I am providing you simple steps to integrate Google Login SDK using swift in iOS.
&n...
Learn How to Integrate Facebook Login SDK Using Swift in iOS - Easy Tutorial
To integrate your iOS app with Facebook for allowing login from Facebook, Share and other features we need integration by Facebook login SDK. So in this tutorial I am providing you simple steps to integrate Facebook Login SDK using swif...
5 Steps iOS Tutorial to Create Repository in Bitbucket
Bitbucket is a hosting service which is used to store source code of any application and code reviews. We can store source code of the application in bitbucket with the help of repository. The repository is used to store source code and any furth...
How to Fetch Particular Substring from a String in iOS Swift3 Program
In this tutorial, we will see how to Fetch Particular Substring from a String in iOS Swift3 Program, but before moving on the mane case first of all let us see, What is String and Substring?
What is String
Strin...
How to implement SFSafariViewController in swift3?
What is SFSafariViewController?
SFSafariViewController is a view controller which is used to provide a user interface to show web pages from an application. It includes different safari features like autofill, content blocking, illegal w...
Creating Tic-Tac-Toe Game in iOS Swift3 Language for iPhone Users
Tic-tac-toe is a very well known game among young children and very often most of us like to play this game to remove stress and feel refreshed. This game is for two players and all about placing noughts and crosses or Xs and Os in any place in a...
How to use custom sound for notifications when application is in foreground/active mode?
Hi Reader’s,
This blog includes the concept of how to use custom sound for notifications when application is in foreground/active mode. Below is the code in objective C language for the same which you have to write in AppDelegate file ...
How to login with Facebook in swift 3.0
To Implement Facebook login in swift 3.0, we can use following steps.
1. install pod
pod 'FacebookCore'
pod 'FacebookLogin'
2.Register your app on the Facebook developer account. After registration,Go to you info.plist, right ...
Things to Remember Before Hiring Team for iOS App Development
The present market scenario, every business firm wants to pump out maximum benefits, and this can be only possible if they deploy essential platforms like digital as well as mobile, to promote the respective products and services in...
How to create custom library in iOS?
Hi Reader’s,
This blog includes the concept of how to create custom library with the help of AssestsLibrary framework. Custom library is useful for multiple images selection at one time so given below is the screenshot of story...
How to set random numbers from an array as title of UIButton in iOS?
Hi Reader’s,
This blog includes the concept of how to set random numbers from an array as title of different UIButton taken in story board. Random numbers are much needed if you are making a number based gaming applic...
How to drag and drop UICollectionView cell item to another UIView in iOS?
Hi Reader’s,
This blog includes the concept of how to drag and drop UICollectionView cell item to another UIView with the help of long press gesture. First of all given below is the snapshot of storyboard in which collection ...
How to implement autolayout programatically in iOS?
Hi Reader’s,
This blog includes the concept of implementing autolayout programatically. This can be done in two ways:-
1.NSLayoutConstraint Class
2.VisualFormat
Below is an example which includes a UITextField ...
How to blur UIView in iOS?
Hi Reader's,
This blog includes the code which is used to blur UIView in iOS in a very simple way. This code can be used according to the need of the user to blur the UIView. Code is given below which includes how to blur UIView ...
How to use tabbarcontroller and transfer data from one controller to another in iOS?
Hi Reader's,
This blog includes the concept of TabBarController and how you can transfer data from one controller to another. TabBarController is use to manage different content view controller which you provides according to your need. He...
How to store image in cache in iOS?
Hi Readers,
This blog includes the concept of how to store image data in a cache memory with the help of SDWebImageManager. First of all, we need to install pods in the application to use SDWebImageManager, after creation of pod file you need ...
How to use AFNetworking to make a server call in iOS
Hi Reader’s,
This blog is to use AFNetworking to make a server call with the help of API. Here we are using an API which includes GIF images and other related data. So below is the code used to get response from server. Before ...
How to save and fetch record from NSUserDefault in iOS?
Hi Readers,
This blog includes the concept of NSUserDefault which is used to store a small amount of data in it. Now the question arises if we already have SQLite database to store data then why do we need NSUserDefault?
The answer is other...
How to convert NSData to UIImage in iOS
Hi Readers,
This blog includes the concept of converting NSData to UIImage with the help of a very simple example. Given below is the screenshot and code which is used to convert NSData to UIImage on button click. Snapshot of storyboard is g...
How to fetch data from SQLite in iOS?
Hi Readers,
This blog includes the concept of how to fetch data from database after saving the data. You can go through with previous blog if you are not aware about how to save data How to save data in SQLite. Now we will discuss the ...
How to display collection view cells based on screen width dynamically in iOS?
Hi Readers,
In this blog we will get to know how to resize collection view cell dynamically and according to the screensize of iPhone.
Here is a very simple code given below to perform this task in a very easy way. We will use a method insi...
How to save data in SQLite database in iOS?
Hi Readers,
In this blog, we will discuss how to save data entered by a user in SQLite database. Before proceeding towards the saving of data into the database you should know how to create a database and tables inside SQLite database.
...
How to print the stack trace using symbolic Breakpoint
Hi Readers,
When You find any runtime conflict in your constraints while running the app and you are not able to find the place where the conflict is.
Then, making a symbolic breakpoint and printing the stack trace can be very helpful....
How to add a Refresh Control on a tableView
Hi Readers,
To refresh the table whenever you pull down the table, we need to use Refresh Control.
To add a UIRefreshControl on a TableView you just have to add a below code in your viewController.
UIRefreshControl ...
Seat Selector For iOS
Hi All,
Now days , we start booking seats online so if you also want to implement seat selection functionality than follow these steps .
Download ZSeatSelector from this link https://github.com/richzertuche/ZSeatSelector
Now drag two fil...
Bounds and Frames in iOS
Hi Readers,
This Post is to tell about the BOUND and FRAME in ios.
BOUND:
The bounds property of a view defines the size of the view and its position in the view's own coordinate system. This means that in most cases the origin of...
How to Animate the Table cells
Hi Readers,
To make the tableView cell animate from a particular point to its position, you just have to add the lines below in the willDisplayCell: delegate function of the table view as shown below.
-(void)tableView:(UITableView *)table...
HOW TO CHECK IF AN INTERNET CONNECTION EXISTS ON iOS DEVICE
Hi Readers,
The most simple way to know that the device is connected to the internet is :
NSURL *scriptUrl = [NSURL URLWithString:@"http://apps.wegenerlabs.com/hi.html"];
NSData *data = [NSData dataWithContentsOfURL:scriptUrl];
if (data)
...
MFMessageCompose ViewController in swift
Step1: Import the MessageUI using :- import MessageUI
Step 2: class ViewController: UIViewController, MFMessageComposeViewControllerDelegate
Step 3: when you tap on the button the list of contact will appear and you can choose the contact ...
Blur Effect on screen in iOS
To add the blur Effect on screen please follow the below steps
Select an image on which you want to add the blur effect.
Add an imageView on screen with the size you want blur effect on screen.
Add the effect with the same size on which yo...
Caputre Screen Shot in IPhone
if you want to capture the screen shot of the screen in swift use the code below. this function will return an image that can be used as background image of a view
The size of the captured image is same as the size of device.
func caputreSc...
Create a PIe Chart in iOS
The main use of a pie chart is to show comparison. When items are presented on a pie chart, you can easily see which item is the most popular and which is the least popular.
you can create the pie chart in iOS by using the following methods...
date picker in place of keyboard in UITextField
The date picker is used to pick date for textfield. It is placed in textFieldDidBeginEditing (a delegate method of UITextField), so that the keyboard is replaced with date picker as soon as you enter into textfield. updateTextField will set the ...
test if an NSString is empty in Objective C
You can check if( [empName length]==0 || [[empName stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] length]==0) this will return 1 else 0
NSString *empName;
if ([empName length]==0 || [[empName stringByTrimmingCharac...
Check for the iPhone Models
To know On which hardware iOS is ruining like iPhone4 , iPhone5 etc below is the code for that
#import <sys/utsname.h>
-(NSString*) deviceName
{
struct utsname systemInfo;
uname(&systemInfo);
r...
How to use UIActivityViewController for sharing on iphone and ipad
Hello Readers,
In order to share text or links from the application, you may use UIActivityViewController . This is an easy way to share from within the application.
NSString *textToShare = @"text you would like to share"
NSURL ...
NSTimer in IPhone SDK
Here is the code for:
calling a method after a time interval delay.
we use the NSTimer to implement this.
NSTimer *timer= [NSTimer scheduledTimerWithTimeInterval:3.0
target:self
...
Find the country of the user
To find out the country of the user please use the code below:
1- Add the coreLocation Framework to your project and import #import <corelocation corelocation.h="">
2- Set the CLLocationManagerDelegate as UIViewController
@interface...
Why to use tuples if we have Arrays in swift language and How it is different from Structures?
Hi Readers,
Before Moving ahead with the Topic,Lets us Briefly have a overlook what actually a Tuple is:
* In very simple language:
A tuple is a group of zero or more values represented as one value.
For example ("Pen", "50") ...
Search a location in ios SDK
if you want to search a particular location using the google api so you can use this .
Step 1: Get the serverKey From the http://console.developers.google.com/ and write the server key as below.
Step 2: #define kGOOGLE_SERVER_KEY @"dsjfdsuiodfd...
UIAlertController as an action sheet in iOS8 and above.
Now you can use UIAlertController as an actionsheet in iOS 8 and above versions. Here is an example of it:-
UIAlertController * view= [UIAlertController
alertControllerWithTitle:@"Sample"
...