CloudTagView icon indicating copy to clipboard operation
CloudTagView copied to clipboard

iOS 13.1 Freeze application

Open sasmyk opened this issue 5 years ago • 4 comments

layoutSubviews loop Issue: resizeToFit is True always so layoutSubviews executing again and again

sasmyk avatar Sep 26 '19 12:09 sasmyk

@sasmyk did you try wrapping the cloudtagview inside another view as a container? It helped me.

khambir avatar Oct 08 '19 12:10 khambir

@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 avatar Oct 08 '19 14:10 sasmyk

@sasmyk can you please update the library or give us the solution? thanks

VaibhavJain9028 avatar Oct 12 '19 08:10 VaibhavJain9028

@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 :)

sasmyk avatar Oct 14 '19 11:10 sasmyk