增加对包含中文的URL支持,修复在Present出来的VC里Present阅读器后点击返回按钮返回错误的BUG #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
在使用这个库的时候发现如果xhtml标题和图片名称里如果包含中文或者中文符号就会读取内容失败,于是我增加了对URL编码的中文支持;如果在present出来的VC里present阅读器,在TOPMenuView里点返回获取的CurrentVC不对,修改了获取方式,从window的最底层遍历到最上层的VC,用最上层VCdismiss,可以正确的返回到上一级VC