{"id":16682300,"url":"https://github.com/jpsim/jpsimagepickercontroller","last_synced_at":"2025-10-28T12:40:13.090Z","repository":{"id":13724864,"uuid":"16419040","full_name":"jpsim/JPSImagePickerController","owner":"jpsim","description":"A pixel-perfect clone of iOS 7's UIImagePickerController, with a few improvements.","archived":false,"fork":false,"pushed_at":"2015-11-03T23:42:10.000Z","size":661,"stargazers_count":156,"open_issues_count":1,"forks_count":34,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-09T02:27:23.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpsim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-31T20:01:45.000Z","updated_at":"2024-03-05T08:46:12.000Z","dependencies_parsed_at":"2022-07-30T16:08:57.385Z","dependency_job_id":null,"html_url":"https://github.com/jpsim/JPSImagePickerController","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FJPSImagePickerController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FJPSImagePickerController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FJPSImagePickerController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FJPSImagePickerController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpsim","download_url":"https://codeload.github.com/jpsim/JPSImagePickerController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233837049,"owners_count":18737907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T14:06:58.003Z","updated_at":"2025-09-22T09:30:35.269Z","avatar_url":"https://github.com/jpsim.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JPSImagePickerController\n\nA pixel-perfect clone of iOS 7's `UIImagePickerController`, with a few improvements. I built this because Apple's image picker is difficult to modify. Works on both iPad \u0026 iPhone.\n\n![Screenshots](screenshots.png)\n\nFeatures:\n\n* Front/Back camera switching\n* Flash on/off\n* Taking pictures in multiple orientations\n* Triggering a picture with the \"volume up\" hardware button\n* Confirmation screen\n* Zooming the image in the confirmation screen\n* Displaying a message in the confirmation screen\n\n## Installation\n\n### From CocoaPods\n\nAdd `pod 'JPSImagePickerController'` to your Podfile.\n\n### Manually\n\nDrag the `JPSImagePickerController` folder into your project and link the MediaPlayer and AVFoundation frameworks to your project.\n\n## Usage\n\nJust launch it modally and set its delegate:\n\n```objective-c\nJPSImagePickerController *imagePicker = [[JPSImagePickerController alloc] init];\nimagePicker.delegate = self;\n[self presentViewController:imagePicker animated:YES completion:nil];\n```\n\nIts delegate can respond to the following methods:\n\n```objective-c\n// Called immediately after the picture was taken\n- (void)picker:(JPSImagePickerController *)picker didTakePicture:(UIImage *)picture;\n// Called immediately after the \"Use\" button was tapped\n- (void)picker:(JPSImagePickerController *)picker didConfirmPicture:(UIImage *)picture;\n// Called immediately after the \"Cancel\" button was tapped\n- (void)pickerDidCancel:(JPSImagePickerController *)picker;\n```\n\nSee sample Xcode project for more examples on how to configure.\n\n## TODO\n\n* Display a box around the tapped area when tapping to focus.\n* Per-element rotation of \"flash\", \"camera switch\" and \"Cancel\" buttons. This is tricky because we don't want our whole layout to change, just those buttons.\n* Better camera switching animation. It's currently a bit janky.\n* Full reproduction of `UIImagePickerController`'s flash control. i.e. expanding to see \"Auto\", \"On\" \u0026 \"Off\"\n\n## License\n\nThis project is under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpsim%2Fjpsimagepickercontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpsim%2Fjpsimagepickercontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpsim%2Fjpsimagepickercontroller/lists"}