Coder Social home page Coder Social logo

Comments (7)

davidmw avatar davidmw commented on June 6, 2024

I can confirm that this exact problem still exists.

The issue seems to be the use of category methods that have duplicated existing method names in the Apple classes. According to the docs this results in undefined behaviors.

For example, just make sure JGMediaPicker is compiled with your project, don't initialize it, but do utilize the MPMediaPickerController. Set breakpoints at MPMediatItem (JGExtensions) for artwork:, artworkWithSize:, albumTitle:, etc. Then try to use all the features of the Apple media picker and you'll see that the JG methods are being utilized.

Rename albumTitle: to albumTitleJG: and that one problem goes away. I don't yet know if there will be any other problems after renaming all the category methods.

from jgmediapicker.

aronnelson avatar aronnelson commented on June 6, 2024

Wow! Thank you! I will check this out!

Aron

from jgmediapicker.

aronnelson avatar aronnelson commented on June 6, 2024

David,

Thank you!!!!! Renaming all of the extensions fixed all of my problems! I can now switch between the two pickers!

Aron

from jgmediapicker.

davidmw avatar davidmw commented on June 6, 2024

I'm glad to have been a help. It was driving me nuts too.

David

from jgmediapicker.

aronnelson avatar aronnelson commented on June 6, 2024

I burned an Apple TS incident on this and they couldn't figure it out. I don't know why I couldn't see what was happening. It seems obvious now, but.... not then. Thanks again!

from jgmediapicker.

jaminguy avatar jaminguy commented on June 6, 2024

Thanks for solving this. I will update the project and change the names.

from jgmediapicker.

jaminguy avatar jaminguy commented on June 6, 2024

I just update this library as well as the demo project. This update fixes the naming collision, converts to ARC, and adds an async loading option for instantiation.

from jgmediapicker.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.