Question

I'm using a library called ECSlidingViewController in my app. However this lib has two different versions, one for iOS 7 and one for older versions.

Since the different versions use the same method signatures but are defined in different files, checking the current version using UIDevice is not really an option, as that doesn't allow me to import the correct version. From what I understand iOS apps are not compiled per version but rather as a Universal binary.

So how do I solve this? Someone must have had this problem before.

Was it helpful?

Solution

I ended up duplicating the classes that use ECSlidingViewController and calling the correct version of the library.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top