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
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...
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...
Play a video from a URL in iPhone SDK
To play a video from a url in iPhone sdk just write down following line of code:
Step 1: Create a MPMoviePlayerViewController object as *moviePlayerController.
Step 2: Create a Url and initialize your movieController with Url.
Step 3: and No...
Invalid attempt to access ALAssetPrivate past the lifetime of its owning ALAssetsLibrary
When accessing assets in the iPhone, some time users gets this error.
(Invalid attempt to access ALAssetPrivate past the lifetime of its owning ALAssetsLibrary)
so we can initialize our assetLibaray using the following code:
+ (ALAssets...
DropBox Login Integration Using iOS SDK
Download the DropBox SDK from the https://www.dropbox.com/developers/sync/sdks/ios
add this sdk to Your project and also add some other Frameworks.
1. Foundation.framework
2. UIKit.framework
3. CoreGraphics.framework
4. QuartzCore.fra...
Fetch profile pic from Facebook
For some reasons Facebook doesnt provide profile picture with user info dictionary/data.
We need to fetch profile pic using graph api.
Once user is done with successful authentication he can use following snippet to get profile picture URL.
...
__weak and __unsafe_retained
__weak and __unsafe_unretained are the ownership qualifiers introduced by LLVM Compiler 3.0.
By default all pointers are __strong under ARC which means that when an object is assigned to a pointer, it is retained for as long as that pointer re...
Tabbar Customization
Snippet works all around to customize the tabbar icons & texts display color for selected and unselected state for iOS7
self.tabbarController.tabBar.tintColor = [UIColor greenColor];
Below code can be used to customize the text look.
...
Importing Fonts to XCode
iPhone provides number of fonts for developing the app but not all.
Sometimes we need to go beyond the fonts provided by iOS sdk.
Following steps will do the needful
1) Add desired font to project (It must be .tff or .otf);
2) Go to info....