CloudTagView
CloudTagView copied to clipboard
iOS 13.1 Freeze application
layoutSubviews loop Issue: resizeToFit is True always so layoutSubviews executing again and again
@sasmyk did you try wrapping the cloudtagview inside another view as a container? It helped me.
@khambir I just found this problem and messaged for other developers to help avoid this problem. Actually we fixed source code by changing boolean variable in layoutSubviews function.
@sasmyk can you please update the library or give us the solution? thanks
@VaibhavJain9028
class: CloudTagView
in the end of function: func layoutSubviews()
code:
if resizeToFit {
frame = CGRect(x: frame.origin.x, y: frame.origin.y, width: frame.size.width, height: CGFloat(yAxis+maxHeight+padding))
}
add string inside this block
resizeToFit = false
Thats all :)