Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Making UIImageView Clickable Using UITapGestureRecognizer
Hi,
We all know that buttons has their own IBActions that can be drawn easily via xibs/storyboard and codes. But what if the view type is UIImageView or UILabel or any other.
In that case we can use UITapGestureRecognizer which is a...
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...
How to create Triangular imageview in objective C
Here is the code for creating the triangular uiimageview -
UIBezierPath *bzrPath = [UIBezierPath new];
[bzrPath moveToPoint:(CGPoint){0, self.imgView.frame.size.height}];
[bzrPath addLineToPoint:(CGPoint){80, 0}];
[bzrPath...
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...