title: iOS : How to implement a bookmark for ePub reader?
body: <p>I'm create an ePub reader for iPad/iPhone</p>
  
  <p>The basic code is from <a href="https://github.com/fedefrappi/AePubReader" rel="nofollow">AePubReader</a></p>
  
  <p>I add page curl effect,adjust image size ... but remove some function (ex.slider the page)</p>
  
  <p>But I still don't know how to implement bookmark function ...</p>
  
  <p>We have many <a href="https://github.com/fedefrappi/AePubReader/issues/5" rel="nofollow">discussion here</a>  , some people record the page number as bookmark index</p>
  
  <p>This is a solution , but not good enough , if you wanna add mark in page 100 .</p>
  
  <p>When you change the text size , you may not found the paragraph you want in p.100</p>
  
  <p>So , as I say in the issue discuss , I need to do few things ...</p>
  
  <p>1.Set &lt; p >  tag or id</p>
  
  <p>2.Get the &lt; p > in  every page </p>
  
  <p>3.Press the bookmark button means record the top &lt; P > in current page ,if the the top &lt; P > is from previous page , record the previous page's last &lt; P ></p>
  
  <p>4.Search the &lt; P > by tag ,  if match , show the page number .</p>
  
  <p>So ... I hope someone know the answer , Because Apple do not release any ePub reader </p>
  
  <p>Thanks for any reply or answer .</p>
  
  <p>Webber</p>