PDF file not downloading from inappbrowser

<a href="url to pdf">Download</a>
this tag is displaying the pdf file with download option in both android and ios.
but if i have open a webpage(having same tag) in inappbrowser

  1. nothing happening in android
  2. pdf is opened in view mode but no option to download in ios

anyone please tell me how to resolve this issue??thanks