How to upload images on real iOS device using appium?

I have been trying to upload images on real ios device (part of my automation test case) using push_file from Appium. But, so far, I have never succeeded. The method that i have created using push_file doesn’t throw any error and it doesnt even upload image to real device. Can anyone help me on this task?