How to get absolute path on iOS?

is this code in Object C ?