question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

background -image: url("res://..."); Not working in ios.

See original GitHub issue

I tried with following code ,build successfull but app not opening,In android it is working background -image: url("res://...");

When i use use following code it is working in both platforms

background -image: url("~/images/bg.png")

Can any one tell us what wrong with the code

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
NickIlievcommented, Aug 9, 2017

Yes - you can see this application for reference.

2reactions
vijaykumarbollavaramcommented, Aug 9, 2017

But in my Android images I copied images in drawable-nodpi. I just used res:// it is working. Shall i copy images directly in App _Resources/ios/icon.png

Read more comments on GitHub >

github_iconTop Results From Across the Web

Background image not showing on iPad and iPhone
My problem was that iOS doesn't support background-attachment: fixed . Removing that line made the image appear. It looks like there are workarounds...
Read more >
How to fix CSS background-image not working | HTML/CSS
2. Make sure the image path is set correctly in the background-image url. Once you have made sure that your CSS file is...
Read more >
Background Image not showing in iOs mobile Safari
iOs mobile Safari has a problem rendering fixed background images unfortunately. This is an iOs browser limitation. There is a CSS workaround for...
Read more >
background-image - CSS: Cascading Style Sheets | MDN
The background-image CSS property sets one or more background images on an element.
Read more >
Retina Display and CSS Background Images - Erik Runyon
Retina Display and CSS Background Images ... My first opportunity to work with and fix this issue was for ... iPhone 4 hi-res...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found