NSMutableArray *imageAry=[data valueForKey:@"Images"]; for(int i=0l;i<[immageAry count]; i++) { NSString *str1=@"http:/...
Read More
Replacing Character string with otherString
NSCharacterSet *set=[NSCharacterSet charaterSetWithCharactersInString:@"~"]; string=[[string componentsSeperatedByCharacterInSe...
Read More
Do not open previous view controller after registration
-(void)submitButtonClicked(id)Sender{ NSUserDefaults *prefs=[NSUserDefaults standardUserDefaults]; [prefs setBool:YES forKey:@"regis...
Read More
response in json
found characters: if([storeValue isEqualToString:@"VerifyResult"]) { [verifyArray addObject:string]; verifyResult=[NSMutable...
Read More
Generating UUID
To generate ur mobile uuid NSString *deviceID=[[UIDevice currentDevice]identifierForVendor]UUIDString];
Read More
SOAP Message request and XMLParsing in iOS app
– (void)viewDidLoad { [super viewDidLoad]; NSString *soapMessage = [NSString stringWithFormat:@”<?xml version=\”1.0\” encoding=\”u...
Read More
to check internet connection using reachibility
1. download from Here: https://drive.google.com/open?id=0BwU5Y4Xqfa42VTgxZURtQ1FyUlk 2. import systemContifiguration framework INTER...
Read More
App Rejected without IPV6
1. Open System preferences 2. Click sharing (To get NAT64Network Click Alt+Sharing)or(option+Sharing).
Read More
Map Annotation Remove and set title
Remove annotation and add new annotation in mapview; [self.mapView removeAnnotations:[_mapView annotations]]; Map annotation title: [...
Read More
keyboard Dismiss
In viewDidLoad UITapGestureRecognizer * tap = [[ UITapGestureRecognizer alloc ] initWithTarget : self action : @selector ( dismissKey...
Read More
by cicking button goes to web view
NSString * urlAddress = @ "http://www.google.com" ; //Create a URL object. NSURL * url = [ NSURL URLWithString : urlAddress...
Read More
Navigation controller bar
How to change Navigation Bar color: navigationController . navigationBar . barTintColor = [ UIColor greenColor ]; ...
Read More
Cocoapods installation
1. Open the terminal 2. sudo gem install cocoapods 3. pod setup --verbose 4. go to project 5. pod init 6. open podfile 7. paste the...
Read More
Subscribe to:
Posts (Atom)