Skip to content

Check if Info.plist has entry for camera before launching #1

@nidegen

Description

@nidegen

if the camera acces text is missing, prompt an alert instead of launching camera & crashing:)

extension UIApplication {
    static var appVersion: String? {
        return Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions