flutter_cocos_view/ios/Classes/FLTCocosView.swift
2025-02-21 14:40:32 +08:00

21 lines
377 B
Swift

//
// FLTCocosView.swift
// flutter_unity_widget
//
// Created by Rex Raphael on 30/01/2021.
//
import Foundation
import UIKit
class FLTCocosView: UIView {
override func layoutSubviews() {
super.layoutSubviews()
if (!self.bounds.isEmpty) {
//todo
GetCocosPlayerUtils().ufw?.getCocosView()?.frame = self.bounds
}
}
}