Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icons are not Visible: Xcode 9/ swift 3 #23

Open
MahipalV12 opened this issue Jan 9, 2018 · 3 comments
Open

icons are not Visible: Xcode 9/ swift 3 #23

MahipalV12 opened this issue Jan 9, 2018 · 3 comments
Milestone

Comments

@MahipalV12
Copy link

MahipalV12 commented Jan 9, 2018

Hii , i have install framework through pod install(pod "IQMediaPickerController") . app is build successfully and run but the IQMediaPickerController not showing assest icons of flash/front/rear camera icons etc, though these button are clickable.
screenshot

//presenting PhotoCamera
let mediaPickerGallery = IQMediaPickerController()
         mediaPickerGallery.delegate = self
        mediaPickerGallery.captureDevice = IQMediaPickerControllerCameraDevice.rear
        var qualityArr = [NSNumber]()
        qualityArr.append(NSNumber(value: IQMediaPickerControllerQualityType.typeHigh.rawValue))
        qualityArr.append(NSNumber(value: IQMediaPickerControllerQualityType.type1920x1080.rawValue))
        mediaPickerGallery.allowedVideoQualities = qualityArr
        mediaPickerGallery.allowsPickingMultipleItems = true
        mediaPickerGallery.maximumItemCount = 10
  mediaPickerGallery.sourceType = IQMediaPickerControllerSourceType.cameraMicrophone
        var mediaTypesArr = [NSNumber]()
        mediaTypesArr.append(NSNumber(value: IQMediaPickerControllerMediaType.photo.rawValue))
        mediaPickerGallery.mediaTypes = mediaTypesArr
        self.present(mediaPickerGallery, animated: true, completion: nil)

And "info" is also returing null even i select any media.

func mediaPickerController(_ controller: IQMediaPickerController, didFinishMediaWithInfo info: [AnyHashable : Any]) {
        NIDebug.printLogArg(value: "Info: %@",info)
        
    }

is there anything i missed ? please help in this

@vfa-nhannv
Copy link

same issue :(

@VickyPrajapati24
Copy link

+1

@VickyPrajapati24
Copy link

VickyPrajapati24 commented Jul 16, 2018

i am not able to find actual problem but i resolved it by adding all icons from IQMediaPickerController/IQMediaCaptureController/IQMediaCaptureController.xcassets to default assets of my project.

@hackiftekhar hackiftekhar added this to the v2.1.0 milestone Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants