title: How to make iOS application act as web server
body: <p>I have developed an iPhone application which will have some files (images, audio &amp; video) in applications document directory (Note: File are in documents directory &amp; not resources or main bundle). </p>
  
  <p>I want to create a unique URL which will allow user to download these files(from apps document directory) from browser on other devices as Mac, smartphones, etc. </p>
  
  <p>So may be in short make iOS application act as web server allowing to download application's files.</p>
  
  <p>How to achieve this?</p>