Posts

Post not yet marked as solved
7 Replies
17k Views
How get URL from image located in asset catalogbefore use:let path = Bundle.main.path(forResource: "***", ofType: "png")or let path = Bundle.main.path(forResource: "***", ofType: "png", inDirectory: "Assets.xcassets")let urlI = URL(fileURLWithPath: path!)but this cause error URL is nilHelp me please
Posted Last updated
.