KFEpubKit icon indicating copy to clipboard operation
KFEpubKit copied to clipboard

iOS demo crash on swipeLeft from last page

Open nmsasaki opened this issue 11 years ago • 0 comments

Hi,

I noticed a crash when you try to swipe past the last page in the iOS demo app. (I was not able to test the OS X version so I'm not sure if exists there also.)

I am new to the ePub format but it seems like the spine count seems is off by 1 because it includes the the root element from the content.opf file.

  • In the tolstoy example:
    • self.contentModel.spine[0] shows "ncx" in the debugger which matches
    • self.contentModel.spine[1] shows "titlepage" in the debugger

Here is what the contents of the content.opf file contains:

Perhaps this is by design? Everything else seems to be working great. The demo is super helpful also.

Thanks!

nmsasaki avatar Jul 03 '14 01:07 nmsasaki