ios - How to addd an 'close' button to a pdf loaded from within an app by uiwebview -


we can use uiwebview create loading mechanism viewing pdf file when called in our app , have put in 'close' or 'done' button allows exit pdf , return app. our app website compiled using xcode 5.1.

problem: our 'close' / 'done' button appears on every page of our website app rather when pdf loaded. want button appear when pdf loaded , when pressed, can return app , button disappears.

any very appreciated.

you can hide close , done button in other view this

[closebtn sethidden:yes];  [donebtn sethidden:yes]; 

make sure other class able access these buttons


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -