36 questions
0
votes
1
answer
106
views
Popover tip blocks source view touches
I have a popoverTip(_:arrowEdge:action:) attached to a Button, like so:
struct ExampleView: View {
let tip = ExampleTip()
var body: some View {
Button {
tip.invalidate(...
3
votes
1
answer
218
views
Can a TipKit tip be permanently dismissed / marked as displayed by tapping outside the tip?
I am using the TipKit in my iOS 16+ app to show usage hints to the user. Since TipKit is available from iOS 17+ I use the protocoal based wrapper shown below.
While displaying tips works fine in ...
1
vote
1
answer
128
views
TipGroup tip presented as sheet iOS 18 instead of a popover tip
While using TipKit's TipGroup I encountered what I believe to be a bug:
The second tip of the TipGroup is presented as a sheet.
I've watch the two WWDC sessions about TipKit and the implementation ...
-1
votes
2
answers
254
views
All TipKit Views are not showing with button action
I have 4 tips to show in screen so i have created like this
code:
struct TipContent {
let title: String
let message: String
}
// MARK: - TipKit Manager
class TipKitManager: ObservableObject {
...
0
votes
1
answer
389
views
How to make Custom TipKit View with .popoverTip in iOS SwiftUI
I want like this "Next" button to be on left side and 4 indicators on right side kind of TipKit view, which should be popover on the existing view; how to achieve this?
I am able to create ...
0
votes
0
answers
65
views
How to make a TipGroup work in a sheet in SwiftUI?
I just tried to use a TipGroup for the first time to show a number of tips in sequence. It works great in the app's main view (ContentView), but when I use the same code to define a TipGroup in a ...
5
votes
2
answers
459
views
TipViewStyle layout broken in iOS 18.4 – Tip message gets truncated
I’m using a custom TipViewStyle to modify the background and slightly adjust the layout of the Tips in my app. Everything looked great until iOS 18.4. Since updating, the layout is being compressed, ...
0
votes
1
answer
457
views
TipKit with TabView
In my SwiftUI app for iOS, I have a TabView with two tabs.
Now I want to add a ToolTip to the second tabItem label.
I am trying to use the TipKit framework, but I just don't see the tip.
Here is an ...
-1
votes
1
answer
149
views
Swift TipKit MaxDisplayCount doesn't work in UIHostingController on iOS
If you configure simple Tip with MaxDisplayCount option, this option doesn't have any effect when showing TipView in SwiftUI view which is wrapped in UIHostingController. The Tip never invalidates and ...
2
votes
1
answer
418
views
How to dismiss a custom Tip
What is the right way to dismiss a Tip view that conforms to TipViewStyle on macOS
At present, I created a hack by maintaining a parameter which gets toggled when user clicks on OK button as seen in ...
0
votes
1
answer
111
views
Tip.statusUpdates doesn't fire on event donation
I have a tip that's supposed to be shown after a certain event:
extension Tips {
static let somethingHappened = Tip.Event(id: "somethingHappened")
}
struct TestTip: Tip {
let title =...
0
votes
1
answer
1k
views
SwiftUI Customize Tip that is popoverTip
enter image description here
Hi, i'm using tipKit - popoverTip, from the box it uses some kind of Color.secondary for backGround. But i need customize the background color of the tip in popoverTip.
Is ...
2
votes
4
answers
501
views
Invalidate a tip in a TipGroup
A Tip in TipKit can be invalidated to not appear more with the func invalidate(reason: Self.InvalidationReason). This can be used after an user does something or a value under observation is changed.
...
3
votes
1
answer
895
views
popoverTip background color
I am trying to change the background color of a SwiftUI popover tip to always be white. Currently, when we switch between light and dark mode, the background of the popoverTip changes color. I want it ...
1
vote
0
answers
423
views
SwiftUI TipKit show Tip at unexpected times
I'm trying to use iOS17's TipKit to show some onboarding tips to the user across various screens. The problem I'm facing is at times the Tips are not shown when they are ready to be shown and gets ...