UploadFile is not working for me in MAC

UploadFile is not working for me in MAC. How can i upload a file or give a path of the file in the UI. My UI has only Browse button with code:

have u resolved this issue?