All Projects → arturgrigor → Agimagepickercontroller

arturgrigor / Agimagepickercontroller

Licence: mit

Projects that are alternatives of or similar to Agimagepickercontroller

Gradientcircularprogress
Customizable progress indicator library in Swift
Stars: ✭ 407 (-4.01%)
Mutual labels:  xcode, cocoapods
Jyradarchart
an iOS open source Radar Chart implementation
Stars: ✭ 419 (-1.18%)
Mutual labels:  xcode, cocoapods
Stevia
🍃 Concise Autolayout code
Stars: ✭ 3,182 (+650.47%)
Mutual labels:  xcode, cocoapods
Netfox
A lightweight, one line setup, iOS / OSX network debugging library! 🦊
Stars: ✭ 3,188 (+651.89%)
Mutual labels:  xcode, cocoapods
Swift5 Module Template
An opinionated starting point for awesome, reusable Swift 5 modules
Stars: ✭ 331 (-21.93%)
Mutual labels:  xcode, cocoapods
Anyformatkit
Simple text formatting in Swift
Stars: ✭ 296 (-30.19%)
Mutual labels:  xcode, cocoapods
Microfeatures Guidelines
📦📝 uFeatures guidelines
Stars: ✭ 315 (-25.71%)
Mutual labels:  xcode, cocoapods
Containercontroller
UI Component. This is a copy swipe-panel from app: Apple Maps, Stocks. Swift version
Stars: ✭ 273 (-35.61%)
Mutual labels:  xcode, cocoapods
Tbuiautotest
Generating UI test label automatically for iOS.
Stars: ✭ 333 (-21.46%)
Mutual labels:  xcode, cocoapods
Snapkit
A Swift Autolayout DSL for iOS & OS X
Stars: ✭ 18,091 (+4166.75%)
Mutual labels:  xcode, cocoapods
Imageloaderswift
A lightweight and fast image loader for iOS written in Swift.
Stars: ✭ 290 (-31.6%)
Mutual labels:  xcode, cocoapods
Iosdropdown
Drop Down Menu for iOS With Search And Other Awesome Customisation
Stars: ✭ 390 (-8.02%)
Mutual labels:  xcode, cocoapods
Audioindicatorbars
AIB indicates for your app users which audio is playing. Just like the Podcasts app.
Stars: ✭ 279 (-34.2%)
Mutual labels:  xcode, cocoapods
Callbackurlkit
Implementation of x-callback-url (Inter app communication) in swift
Stars: ✭ 299 (-29.48%)
Mutual labels:  xcode, cocoapods
Fapaginationlayout
Collection view pagination layout
Stars: ✭ 276 (-34.91%)
Mutual labels:  xcode, cocoapods
Wordpress Ios
WordPress for iOS - Official repository
Stars: ✭ 3,239 (+663.92%)
Mutual labels:  xcode, cocoapods
Roundcode
Custom rounded QR code with lots of customization.
Stars: ✭ 267 (-37.03%)
Mutual labels:  xcode, cocoapods
Xcode One Dark
Atom One Dark theme for Xcode
Stars: ✭ 273 (-35.61%)
Mutual labels:  xcode, cocoapods
Maplebacon
🍁🥓 Lightweight and fast Swift library for image downloading, caching and transformations
Stars: ✭ 322 (-24.06%)
Mutual labels:  xcode, cocoapods
Restofire
Restofire is a protocol oriented networking client for Alamofire
Stars: ✭ 377 (-11.08%)
Mutual labels:  xcode, cocoapods

No Maintenance Intended CocoaPods Compatible Platform Twitter

AGImagePickerController

AGImagePickerController is a image picker controller that allows you to select multiple photos and can be used for all iOS devices.

Screenshot

Installation

Copy over the files from the AGImagePickerController folder to your project folder.

Usage

Wherever you want to use AGImagePickerController, import the appropriate header file and initialize as follows:

#import "AGImagePickerController.h"

Basic

AGImagePickerController *imagePickerController = [[AGImagePickerController alloc] initWithFailureBlock:^(NSError *error) {

        if (error == nil)
        {
            NSLog(@"User has cancelled.");
            [self dismissModalViewControllerAnimated:YES];
        } else
        {     
            NSLog(@"Error: %@", error);
        
            // Wait for the view controller to show first and hide it after that
            double delayInSeconds = 0.5;
            dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
            dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
                [self dismissModalViewControllerAnimated:YES];
            });
        }
            
        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:YES];
        
    } andSuccessBlock:^(NSArray *info) {
        NSLog(@"Info: %@", info);
        [self dismissModalViewControllerAnimated:YES];
        
        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:YES];
    }];
    
    [self presentModalViewController:imagePickerController animated:YES];
    [imagePickerController release];

Contact

Let me know if you're using or enjoying this product.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].