
Kavsoft
@_Kavsoft • 28,649 subscribers
Kavsoft is where I make videos about iOS Apps Using SwiftUl | Patreon: https://t.co/WEfT4QVjWi | Creator of https://t.co/IOZEHM1BcM | More: https://t.co/OOvKGjjluJ
Shorts
Videos

I recently discovered that the SwiftUI EnvironmentValues infant contains Device Corner Radius value, but it’s not available for use. However, we can easily extract those values using a simple String Regex. With this information, we can basically Backport the ConcentricRectangle shape for older iOS versions as well. For More, check out this video. NOTE: I tested this even with iOS 16, and the value is indeed present. It’s possible that it’s available for even older versions, but I haven’t tested it yet.
Kavsoft18,248 次观看 • 2 个月前