You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to import epub file on my project and was trying to open file but does not works for me.
Nothing happening.
sample code:
Task { @MainActor in
let readerController = ReaderViewController(theme: .dark, eventsHandler: self)
if let path = Bundle.main.path(forResource: "accessible_epub_3", ofType:"epub") {
// use path
try? await readerController.loadBook(url: URL(fileURLWithPath: path))
}else {
print("EPUB file not found in the bundle")
}
}
The text was updated successfully, but these errors were encountered:
I tried to import epub file on my project and was trying to open file but does not works for me.
Nothing happening.
sample code:
The text was updated successfully, but these errors were encountered: