diff --git a/packages/core/ui/styling/background.ios.ts b/packages/core/ui/styling/background.ios.ts index 613971e528..b1ea750e12 100644 --- a/packages/core/ui/styling/background.ios.ts +++ b/packages/core/ui/styling/background.ios.ts @@ -184,6 +184,10 @@ export namespace ios { const style = view.style; if (imageURI) { + if (typeof imageURI !== 'string') { + callback(null); + return; + } const match = imageURI.match(uriPattern); if (match && match[2]) { imageURI = match[2];