Yes Apple will allow you to use third party libraries in your project, otherwise there wouldn't be this many third party libraries available.
The only restriction is that the library can not be loaded dynamically and should be compiled into the app binary.