<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TipKit",
  "identifier" : "/documentation/TipKit/Tips/showAllTipsForTesting()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "TipKit"
    ],
    "preciseIdentifier" : "s:6TipKit4TipsO07showAllC10ForTestingyyFZ"
  },
  "title" : "showAllTipsForTesting()"
}
-->

# showAllTipsForTesting()

Show all tips regardless of their display rule eligibility or display frequency status for UI testing of tips.

```
static func showAllTipsForTesting()
```

## Overview

This function can also be called with the launch argument `-com.apple.TipKit.ShowAllTips 1`.

Tip statuses automatically revert back to `available` after invalidation when displayed using this override to enable repeat testing of presentation and dismissal.

TipKit’s display override testing functions have the following precedence:

|Priority|Testing function                                                            |
|--------|----------------------------------------------------------------------------|
|first   |``doc://com.apple.TipKit/documentation/TipKit/Tips/showTipsForTesting(_:)`` |
|second  |``doc://com.apple.TipKit/documentation/TipKit/Tips/hideTipsForTesting(_:)`` |
|third   |``doc://com.apple.TipKit/documentation/TipKit/Tips/showAllTipsForTesting()``|
|fourth  |``doc://com.apple.TipKit/documentation/TipKit/Tips/hideAllTipsForTesting()``|

```swift
import SwiftUI
import TipKit

@main
struct LandmarkTips: App {
    var body: some Scene {
        WindowGroup {
            ContentView()
        }
    }

    init() {
        setupTips()
    }

    // Configure tips in the app.
    func setupTips() {
        do {
            #if DEBUG
            Tips.showAllTipsForTesting()
            #endif

            try Tips.configure()
        }
        catch {
            print("Error initializing TipKit \(error.localizedDescription)")
        }
    }
}
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)