{"id":15160662,"url":"https://github.com/xiaohange/jqimagepicker","last_synced_at":"2025-10-24T18:32:18.204Z","repository":{"id":56916392,"uuid":"103373114","full_name":"xiaohange/JQImagePicker","owner":"xiaohange","description":"iOS照片自定义裁剪, 自定义宽高比裁剪, 代码调用简单精炼.","archived":false,"fork":false,"pushed_at":"2019-04-09T09:33:52.000Z","size":2449,"stargazers_count":19,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-10T10:20:59.123Z","etag":null,"topics":["cut-image","cuts","cutter","imagepicker","ios","objective-c","pohotos"],"latest_commit_sha":null,"homepage":null,"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/xiaohange.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-13T08:18:43.000Z","updated_at":"2024-06-29T12:18:54.000Z","dependencies_parsed_at":"2022-08-21T03:50:34.136Z","dependency_job_id":null,"html_url":"https://github.com/xiaohange/JQImagePicker","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohange%2FJQImagePicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohange%2FJQImagePicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohange%2FJQImagePicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohange%2FJQImagePicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaohange","download_url":"https://codeload.github.com/xiaohange/JQImagePicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219868059,"owners_count":16555878,"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":["cut-image","cuts","cutter","imagepicker","ios","objective-c","pohotos"],"created_at":"2024-09-26T23:05:09.551Z","updated_at":"2025-10-24T18:32:09.940Z","avatar_url":"https://github.com/xiaohange.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JQImagePicker\n前言\n===\niOS照片自定义裁剪, 自定义宽高比裁剪, 经典16:9等裁剪方式,代码调用简单精炼.\n##### 1.自定义裁剪\n\n![自定义裁剪](https://github.com/xiaohange/JQImagePicker/blob/master/%E6%95%88%E6%9E%9C%E5%9B%BE1.gif?raw=true)\n\n##### 2.系统自带裁剪\n![系统自带裁剪](https://github.com/xiaohange/JQImagePicker/blob/master/%E6%95%88%E6%9E%9C%E5%9B%BE2.gif?raw=true)\n\n## 更新记录\n-1.0.1 \n\n2019.04.09 fix: 修复已知 bug;\n\n- 0.0.1 \n\n发布第一版本 0.0.1\n\n## Installation\n\n - 1.Drag all source files under floder `JQImagePicker ` to your project.\n \n - 2.pod: `JQImagePicker `\n\n## Usage\n\n```\n#import \"JQImagePicker.h\"\n```\n##### 1.系统自带裁剪\n\n```\n// 拍照\n JQImagePicker *imagePicker = [JQImagePicker sharedInstance];\n            imagePicker.delegate = self;\n            [imagePicker showOriginalImagePickerWithType:ImagePickerCamera InViewController:self];\n```\n\n```\n// 相册\nJQImagePicker *imagePicker = [JQImagePicker sharedInstance];\n            imagePicker.delegate = self;\n            [imagePicker showOriginalImagePickerWithType:ImagePickerPhoto InViewController:self];\n```\n##### 2.自定义裁剪\n```\n// 拍照\n JQImagePicker *imagePicker = [JQImagePicker sharedInstance];\n            imagePicker.delegate = self;\n            [imagePicker showImagePickerWithType:ImagePickerCamera InViewController:self Scale:scale];\n```\n```\n// 相册\nJQImagePicker *imagePicker = [JQImagePicker sharedInstance];\n            imagePicker.delegate = self;\n            [imagePicker showImagePickerWithType:ImagePickerPhoto InViewController:self Scale:scale];\n```\n\n##### 3.JQImagePickerDelegate\n```\n- (void)imagePickerDidCancel:(JQImagePicker *)imagePicker\n{\n    NSLog(@\"取消\");\n}\n\n- (void)imagePicker:(JQImagePicker *)imagePicker didFinished:(UIImage *)editedImage\n{\n    NSLog(@\"裁剪后:%@\",editedImage);\n}\n```\n## Star\n\n[CSDN博客](http://blog.csdn.net/qq_31810357)    \n\n手机加iOS开发者交流群：①群:446310206 ②群:426087546 喜欢就❤️❤️❤️star一下吧！ \n\nLove is every every every star! Your support is my renewed motivation!\n\n## License\n\nThis code is distributed under the terms and conditions of the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohange%2Fjqimagepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaohange%2Fjqimagepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohange%2Fjqimagepicker/lists"}