So, try to create view = UIView(frame: CGRect(x: 0, y: 0, width: 10, height: 10)). And hide the view as long as you don't need it.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: