[Solved] How to post text on friends wall using latest facebook sdk in IOS

You can post on friends wall by using FBWebDialogs class of Facebook SDK. For that you need friends facebook id in parameters in dictionary as below NSMutableDictionary *parmaDic = [NSMutableDictionary dictionaryWithCapacity:5]; [parmaDic setObject:link forKey:@”link”]; // if you want send picture [parmaDic setObject:@”NAME” forKey:@”name”]; // if you want to display name [parmaDic setObject:message forKey:@”description”]; // if … Read more

[Solved] Delete all rows in a tableview [duplicate]

On the button action event remove all the objects from itemArray then reload tableView data. Before this make sure that in tableView delegate numberOfRowInsection you are passing itemArray count like that: – (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return [itemArray count]; } // button action// -(IBAction)deleteTableViewData { [itemArray removeAllObjects]; [tableView reloadData]; } 3 solved Delete all rows … Read more

[Solved] Change app icon every day [duplicate]

You can not change the Icons on your normal Apps on iOS, but you can change them between updates. You can change the icons of Newsstand Apps (i.e. magazine Apps inside the Newsstand), if you are making such an App. solved Change app icon every day [duplicate]

[Solved] This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK, Xcode 5 [closed]

Really had the warning in iOS dev center: 5 Xcode Developer Preview can not be used to submit apps to the iOS or Mac App Store. Continue to use the publicly released version of Xcode to compile and submit apps to the App Store. However, given the circumstances, I did not see cause to release … Read more

[Solved] getting NSArray objects using index numbers

Try this : NSArray *arr = @[@”ECE”,@”CSE”,@”MECH”,@”CIVIL”,@”AERO”,@”IT”,@”EEE”,@”EM”]; NSArray *indexNumberArray = @[@0,@2,@5,@7]; NSMutableArray *arrNew = [NSMutableArray new]; for (NSNumber *index in indexNumberArray) { [arrNew addObject:[arr objectAtIndex:[index integerValue]]]; } Output 3 solved getting NSArray objects using index numbers

[Solved] How to send image via mms in ios 7+ programmatically? [closed]

You can approach this by two ways, 1 – By using MFMessageComposeViewController 2 – By MMS In the first way you can send the image via iMessage In the second way you can send MMS via Career network For 1st process the code is -(void)sendSMSto:(NSString *)number withImage:(UIImage *)sentImage{ MFMessageComposeViewController *picker = [[MFMessageComposeViewController alloc] init]; if([MFMessageComposeViewController … Read more

[Solved] Custom circle progress view [closed]

Take white circle image like you displayed in above image and try following code. – (void)startSpin { if (!animating) { animating = YES; [self spinWithOptions: UIViewAnimationOptionCurveEaseIn]; } } – (void)spinWithOptions:(UIViewAnimationOptions) options { [UIView animateWithDuration: 1.0f delay: 0.0f options: options animations: ^{ imgViewCircle.transform = CGAffineTransformRotate(imgViewCircle.transform, M_PI / 2); } completion: ^(BOOL finished) { if (finished) { … Read more