I've appended the code for GameController.swift below. To actually reproduce the bug, you need an image file Card Back.png in the project. It has a resolution of 672x1038 pixels.Create a new iOS Swift Single View Application project.Add Game Controller.swift and Card Back.png to it.In IB, change the view controller class to GameController.Drag a second view controller into the story board and change its class to GameController, too.Create a seque from the first to the second scene. (I added a Tap Gesture Recognizer to the first scene and created a Present Modally seque to the second scene; a Push/Show seque will give the same result.)Run the app on the iPhone simulator. You will see a 5x6 grid of copies of the Card Back image.Tap anywhere on the view to present the second scene.You will see part of one really big card back image.If you do Debug > View Debugging > Capture View Hierarchy and click Show Clipped Content, you will see that there is actually a grid of 672x1038 image views, which obviously doe
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: