Welcome, Guest Login

Support Center

Load Image in background in iOS

Last Updated: Oct 05, 2016 05:19PM EDT
A change has been made to add support for loading local images in the background on iOS.
 
Traditionally an image was always loaded in the background when its path was a remote URL (i.e. "http://foo.com/123.png"), and in the foreground when it's a local path in the app directory (i.e. "123.png").
 
In most cases, this is the preferred behavior; remote images eventually appear when they've finished downloading asynchronously
(without blocking the UI), but local images appear immediately because they're loaded from the file system synchronously.
 
But for List blocks with local left/right/background images specified, this can cause the UI to stutter as the images are loaded
synchronously.  If you want to load local images in the background, you can turn them into URLs by prefixing the path with "file:".  For
instance:
 
 file:123.png
 file:[[ds:/db/tbl/column]]
 
In both of the cases above, the image will get loaded asynchronously.

 

Help us improve! Rate this article:

Yes I found this article helpful

Ask a Question   

support@eachscape.com
http://assets0.desk.com/
false
eachscape
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete