Comments (7)
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.
Wow! Thank you! I will check this out!
Aron
from jgmediapicker.
David,
Thank you!!!!! Renaming all of the extensions fixed all of my problems! I can now switch between the two pickers!
Aron
from jgmediapicker.
I'm glad to have been a help. It was driving me nuts too.
David
from jgmediapicker.
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.
Thanks for solving this. I will update the project and change the names.
from jgmediapicker.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jgmediapicker.