Is there any way how to create shadow in SwiftUI with the spread parameter (means of how much greater the shadow should be than the original view)? I've tried to use custom implementation of shadow using background Color with blur, but it resulted in performance issues.
swift
content
.background(GeometryReader { geometry in
Rectangle()
.fill(color)
.frame(width: geometry.size.width + spread,
height: geometry.size.height + spread)
.cornerRadius(isCircle ? (geometry.size.width + spread) / 2 : cornerRadius)
.padding([.top, .leading], -spread / 2)
.padding(.leading, x)
.padding(.top, y)
.blur(radius: blur)
})
I haven't found any other resources. I think that shadowPath would be helpful using UIKit, but I don't know any way ho to achieve it using SwiftUI.
Thanks for any advice!
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi,
I've tried to authenticate this endpoint https://appstoreconnect.apple.com/iris/v1/betaFeedbacks with the JWT token as described in the documentation, but it's not working. I know this endpoint is not documented, but gathering the beta feedback and being able to extract it to some ticket system (e.g. GitHub board) would be a really helpful option for us.
Does anyone know how we can authenticate this one?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect API
Tags:
App Store Connect API