21 lines
377 B
Swift
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
|
|
}
|
|
}
|
|
}
|