joseph / Monocle

A silky, tactile browser-based ebook JavaScript library.
http://monocle.inventivelabs.com.au
MIT License
743 stars 200 forks source link

does not load in ios uiwebview #60

Closed kodworld closed 12 years ago

kodworld commented 12 years ago

i am building ebook reader using ios uiwebview for ipad. i faced big problem

i did with this process

"test/showcase/02-dickens/index.html" works in safari, not in UIWebView.

please let me know the solution.

joseph commented 12 years ago

Have you tried the solution suggested here? - https://github.com/joseph/Monocle/issues/51#issuecomment-2130488

kodworld commented 12 years ago

i don't know how to do it...

could you give me a sample code...

joseph commented 12 years ago

See here: https://github.com/joseph/Monocle/wiki/Integrating

primeURL is an initialisation option, albeit an undocumented one. Apparently you have to set it to some URL that will work in your iOS app.

kodworld commented 12 years ago

thanks to previous answer...

i sovle the problem to call monacle on uiwebview with embeded sample html in monacle. - i fixed sample text in monacle. but still have problem to call from App.