Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のプロジェクトの Singleton UIView を作成する方法。
この共通の UIView をすべての UIViewController のサブビューとして使用したいので、シングルトンの場合はメモリ消費がありません。
いいえ、1 つのビューを複数のスーパービューで共有することはできません。ビューの複数のインスタンスが必要になります。