Core Graphics or SpriteKit?
As you have described the problem, it would be more natural to use Core Graphics or perhaps SpriteKit (depending on the interactions with your graphics).

UIKit does not strike me as an obvious go-to framework for this problem.