Using PHLivePhotoView with Auto Layout
Read OriginalThe article details a developer's experience integrating PHLivePhotoView into an iOS app to display Live Photos. It highlights a key difference from UIImageView: PHLivePhotoView returns an intrinsicContentSize of (-1, -1), causing Auto Layout issues within a UIScrollView. The post explains the problem, the debugging process, and the solution of manually setting width and height constraints to the live photo's dimensions.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser