I try to use ContainerRelativeShape to clip my Image, but it doesn't work. Do I miss something?
VStack {
		Image("big-sur")
				.resizable()
				.frame(width: 200, height: 200)
				.clipShape(ContainerRelativeShape())
				.padding(padding)
}
.background(Color(UIColor.secondarySystemBackground))
.clipShape(RoundedRectangle(cornerRadius: 30))
Post
Replies
Boosts
Views
Activity
From the LibraryItem doc https://developer.apple.com/documentation/developertoolssupport/libraryitem/init(_:visible:title:category:matchingsignature:) there is a matchingSignature which I'm not sure how to use it.
matchingSignature
An overload for which the item presents its code completion. You typically use this parameter when setting up an item as a source of custom code completion. At the time of completion, the code completion engine looks for an item matching the signature and inserts its completion, if found. What is the valid argument for this parameter?
After users sign in, grant permission, and redirect back to my app. I got something like this```{"state"=>"***","code"=>"yyyy", "id_token"=>"zzzz","user"=>"{....}"}```Which is everything I need to create a user account, but the OAuth flow isn't finished yet. For a normal flow, we would use that code to fetch access token from `https://appleid.apple.com/auth/token`https://developer.apple.com/documentation/signinwithapplerestapi/generate_and_validate_tokensMy question is, should I do that? It seems to add no value to the current situation.
When I create Services IDs for my website for Sign in with Apple, I was asked to verify my domain by putting a file into specific path https://example.com/.well-known/apple-developer-domain-association.txtMy question is, what would happen if I don't do that? I'm testing it right now and it seems to work without verifying the domain.