Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

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...

UIButton width according to Title text.

We can increase or set width of a UIButton according to button title test. To set the width of a UIButton use CGSize. Here is the code :- CGSize stringsize = [yourButton.titleLabel.text sizeWithFont:[UIFont systemFontOfSize:17]]; [yourButto...

Add Input Accessory View above UIKeyBoard in iOS

If you come across a requirement where you want to add a custom view just above the UIKeyBoard, then you can use below code to do that. If you want to show custom view on tapping inside any UITextField or UITextView, Write below line of code i...

How to set Camera view aspect ratio in ios

Some times we face problem with Camera view aspect ratio in ios. Solution to this problem is here.. Set its aspect ratio property to AVLayerVideoGravityResizeAspectFill. It actually preserve aspect ratio; fill layer bounds. AVLayerVideoGr...

Make UIImage White Background Transparent in iOS

If you came across to a requirement where you want to make UIImage Background Transparent then use below method to achieve it. +(UIImage *)changeWhiteColorTransparent: (UIImage *)image{ CGImageRef rawImageRef=image.CGImage; const CGFloat c...
prev 1 2 next
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: