Skip to content

Make the background of UIView a grid or a dot.


Here's how to make the UIView background a grid or a dot. This time, I created a subclass of UIView called GridView so that the dots can be switched by pressing a button.


  1. Create a sequential numbered array in Swift
  2. Using ReplayKit to record a screen
  3. Aligning Views like UICollectionView in SwiftUI
  4. Displaying a Firestore image in SwiftUI
  5. Detecting changes to the SwiftUI Toggle
  6. Creating a multi-line picker in SwiftUI
  7. Don't show the Label in the SwiftUI Picker