Home

Awesome

MockImagePicker

<img align="right" src="Screenshots/MockImagePicker.png"> Mock UIImagePickerController to simulate the camera in iOS simulator.

Swift Version Build Status License CocoaPods Compatible
Platform PRs Welcome

Usage

#if targetEnvironment(simulator)
    import MockImagePicker
    typealias UIImagePickerController = MockImagePicker
    typealias UIImagePickerControllerDelegate = MockImagePickerDelegate
#endif

Requirements

Installation

CocoaPods:

pod 'MockImagePicker'

Legacy versions:

Swift versionMockImagePicker version
4.1 (Xcode 9.4)pod 'MiniLayout', '~> 1.2.1'<br>pod 'MockImagePicker', '~> 1.1.0'

Swift Package Manager:

dependencies: [
    .package(url: "https://github.com/yonat/MockImagePicker", from: "1.3.1")
]

TODO

Meta

@yonatsharon

https://github.com/yonat/MockImagePicker