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
Make a simple paint application in iOS
We all have seen a paint application in our PCs or laptops. So, here we are going to build a simple application which uses different colors to draw on the screen :-
Lets start with making the UI. Drag an UIImageView and UIView in the...
How to show gif Images in iOS using FLAnimatedImageView
We can easily display jpg images in the UIImageView. We can also display .gif images which supports animations so there is need to add some extra elements to our project. So for implementing this first install this podFile to your project :-...
How to use the built-in camera of the iPhone ?
To use the built-in camera of the iPhone consider the following example. In this example we will also see how to access the photo library and select a photo and use it.
Create a single view application and assign a name to it. Then in the Main...
Adding bounce effect to UIImageView .
We can add animation to view using CABasicAnimation. Here we are adding bounce effect to UIImageView.
The following code will show the bounce effect in the UIImageView at y-axis:-
CGPoint origin = self.imgView.center; // self.imgView i...
Table View
Table view is one of the most frequent iOS app UI element. In iOS many of the apps utilize tableview to exhibit a list of data. Special features of tableView include headers, footers, rows, and section. It provides a list of options fur...
How to create marquee effect on imageview in Objc
To create marquee effect first set scroll view either via storyboard or via code
Here in this example I am setting up scroll view via code.
declare these variables
UIScrollView *scrollView;
NSTime...
Zoom in an UIImageView using 3D transform in objc
If you are looking for a function to Zoom in an UIImageView in a 3D tranform scale then you should use CATransform3DScale.
First of all declare a BOOL variable to check scale points. Here I am taking CGFloat _scalePoints and CATransform3D tr...
Select Image from Device
Hi,
If you want to select image from device in Xcode, you can use the below code for this.
#import <uikit.h>
@interface ViewController : UIViewController<UIImagePickerControllerDelegate,UINavigationControllerDelegate>
{
...
resize UIImage without losing quality (not screenshot)
Use the below code for cutting UIImage in high quality without blur (not screenshot)
tmp is image view
<p>UIGraphicsBeginImageContextWithOptions(tmp.frame.size,YES, 4.0);</p>
<p>CGContextRef c = UIGraphicsGetCurrentCon...