You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@horitaku46 in what case do you think we need to refresh subviews of the SlideLeafCell?
if let image = imageView.image {
scrollView.setZoomScale(1, animated: false)
calcImageViewFrame(image)
}
I found the case when it is called after double tap and the imageView inside SlideLeafCell is redrawn: https://imgur.com/a/Ej3d4
In the video you can see that layoutSubviews() is called after I used setNeedsStatusBarAppearanceUpdate() and instead of to zoom, imageView is redrawn.
The text was updated successfully, but these errors were encountered:
Hi! @Stmol .
Sorry for the late reply.
The reason why the following is described, if you zoom in on the image, rotate the iPhone and recalculate it, the display will collapse.
if let image = imageView.image {
scrollView.setZoomScale(1, animated: false)calcImageViewFrame(image)}
Serrata/Serrata/Sources/SlideLeafCell.swift
Line 78 in 88c2d5f
@horitaku46 in what case do you think we need to refresh subviews of the
SlideLeafCell
?I found the case when it is called after double tap and the imageView inside
SlideLeafCell
is redrawn:https://imgur.com/a/Ej3d4
In the video you can see that
layoutSubviews()
is called after I usedsetNeedsStatusBarAppearanceUpdate()
and instead of to zoom, imageView is redrawn.The text was updated successfully, but these errors were encountered: