MP3 encoding is burdened by patents and requires licensing. Actually, it is disputed if a license is required. However, if you do not license your MP3 encoding software, you risk a lawsuit which can be costly, even if you win it.
Many desktop applications get around this with a technical solution rather than a legal one. They achieve this by not bundling the MP3 encoder library (usually LAME) with their software, but instead allowing the user to download the encoder after installation. This does not only get around the MP3 licensing, but also makes it easy to comply with the LGPL under which the LAME encoder is licensed.
I would like to use the same concept of this technical solution in iOS.
Is there a similar concept for iOS? Specifically, is there a way to download something like a dynamically linked library in an iOS app on the fly and use it in the app?