How to select Multiple images from UIImagePickerController [duplicate]

You can’t use UIImagePickerController, but you can use a custom image picker. I think ELCImagePickerController is the best option, but here are some other libraries you could use: Objective-C 1. ELCImagePickerController 2. WSAssetPickerController 3. QBImagePickerController 4. ZCImagePickerController 5. CTAssetsPickerController 6. AGImagePickerController 7. UzysAssetsPickerController 8. MWPhotoBrowser 9. TSAssetsPickerController 10. CustomImagePicker 11. InstagramPhotoPicker 12. GMImagePicker 13. DLFPhotosPicker … Read more

Is it possible to Turn page programmatically in UIPageViewController?

Yes it is possible with the method: – (void)setViewControllers:(NSArray *)viewControllers direction:(UIPageViewControllerNavigationDirection)direction animated:(BOOL)animated completion:(void (^)(BOOL finished))completion;` That is the same method used for setting up the first view controller on the page. Similar, you can use it to go to other pages. Wonder why viewControllers is an array, and not a single view controller? That’s because … Read more

Share data between two or more iPhone applications

In the sandboxed world of iOS development sharing data between applications can prove difficult Since iOS developers canโ€™t share data directly through the file system, they need to find alternate solutions for their applications. Some common solutions include: UIDocumentInteractionController UIActivityViewController Shared Keychain Access Custom URL Scheme Web Service iCloud API UIDocumentInteractionController: Allows the user to … Read more

Is it possible to add UITableView within a UITableViewCell

yes it is possible, I added the UITableVIew within the UITableView cell .. ๐Ÿ™‚ no need to add tableview cell in xib file – just subclass the UITableviewCell and use the code below, a cell will be created programatically. //in your main TableView #import “ViewController.h” #import “CustomCell.h” @interface ViewController ()<UITableViewDataSource , UITableViewDelegate> @end @implementation ViewController … Read more

Objective-C ARC: strong vs retain and weak vs assign

After reading so many articles Stackoverflow posts and demo applications to check variable property attributes, I decided to put all the attributes information together: atomic //default nonatomic strong=retain //default weak retain assign //default unsafe_unretained copy readonly readwrite //default Below is the detailed article link where you can find above mentioned all attributes, that will definitely … Read more

No exception stacktrace in console under Xcode 4.2/iOS 5?

This works: int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = -1; @try { retVal = UIApplicationMain(argc, argv, nil, nil); } @catch (NSException* exception) { NSLog(@”Uncaught exception: %@”, exception.description); NSLog(@”Stack trace: %@”, [exception callStackSymbols]); } [pool release]; return retVal; } For ARC: int main(int argc, char *argv[]) { … Read more

How to make UI with round image and round text, also add ratting icon on same circle. in iOS application

Import roundImageView.h class in your view class and set background image on your UIButton. Please change button type Custom. After Following these steps try this code . CGRect frame = CGRectMake(0, 0, 200, 200); roundImageView *roudImage = [[roundImageView alloc]init]; UIImage *image1 = [roudImage createMenuRingWithFrame:frame :@”Your Title” labelBgColor:[UIColor colorWithRed:(191/255.f) green:(251/255.f) blue:(158/255.f) alpha:1] ringBgColor:[UIColor colorWithRed:(214/255.f) green:(214/255.f) blue:(214/255.f) … Read more