Relative Content

Tag Archive for iosuser-interfaceswiftuiaccessibilityheight

Calculate card size dynamically SwiftUI

I need to calculate the size of a card component depending of the size of its content. The content is text, and, if the text size increase due to accessibility (using accessibility options at iphone), the card should expand its size too.