Popover
Popover copied to clipboard
transform change it's subview's frame
Execuse me,
I have set contentView.frame = CGRect(0, 10, 100, 100).
But after a Popover transform in func show(), it's contentView has changed frame.
Then I find:
override open func layoutSubviews() {
super.layoutSubviews()
self.contentView.frame = self.bounds
}
scale tranform will execute this code, and contentView.frame will be changed.
Thank you!