![]() Tried to use an absolute path to reference the bundle images.When I made a typo in the path I see the small default icon for file not found, so I know when the Paths are correct. All absolute Paths fail to display the image. Added a call to $window.resolveLocalFileSystemURL() to get either an absolute native Path or an absolute cdvfile path. Wrote them hardcoded with file://, file:///, resolved them manually to cdvfile:// and cdvfile://. Then I checked in the Mac OS Filesystem and the files are there (after the download). ![]() I ran the App in the iOS Emulator and logged the path with console.log.This picture is displayed if I use a relative path to the Portraits that are inside the Bundle. ![]() I solved all problems except one: On one page I display a fullscreen background picture which gets dynamically assigned. It was working until the new iOS Version 11. I successfully developed an app with IONIC 1 last year. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |