|
I want my noPreviewView it to appear just when there is no smallThumbnail available, but the noPreviewView always appears... It is not with != nil ???? If I delete the "if" ... "else", and just leave the asyncImage it works perfect... so it must be something about the != nil I think...
|
|
You said that you want the |
|
|
|
Hi @NigelGee !!!! I am trying your advice, but It forces me to unwrap it... what am I doing wrong? it says: Value of optional type 'String?' must be unwrapped to a value of type 'String' Insert '!'
|
|
Try
|
|
|
|
SPONSORED Alex is the iOS & Mac developer’s ultimate AI assistant. It integrates with Xcode, offering a best-in-class Swift coding agent. Generate modern SwiftUI from images. Fast-apply suggestions from Claude 3.5 Sonnet, o3-mini, and DeepSeek R1. Autofix Swift 6 errors and warnings. And so much more. Start your 7-day free trial today!
Sponsor Hacking with Swift and reach the world's largest Swift community!
You need to create an account or log in to reply.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.