[WIP] Video chat UI

This commit is contained in:
Isaac
2024-09-10 21:32:34 +08:00
parent ca5b6c0f0b
commit 5aa7784d2c
8 changed files with 452 additions and 41 deletions

View File

@@ -45,6 +45,8 @@ final class VideoChatVideoLoadingEffectView: UIView {
super.init(frame: .zero)
self.portalSource.backgroundColor = .red
self.portalSource.layer.addSublayer(self.hierarchyTrackingLayer)
self.hierarchyTrackingLayer.didEnterHierarchy = { [weak self] in
guard let self, self.bounds.width != 0.0 else {