Post

Replies

Boosts

Views

Activity

Reply to safe area includes notch?
Thank you for reply! I ran the code on an iPhone 14 simulator. The launch screen image overlapped the notch which indicates the issue will happen on a simulator in runtime. I have no real iPhone 14 device for now. I wonder whether the problem will happen or not on a device.
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’23
Reply to "onTapGesture" interferes with segmented picker
@OOPer By default, when the picker is tapped, the corresponding option will be selected. In addition to this,I also need to execute some other codes as long as any area within picker is tapped, no matter which option is selected. In other words, I need to know which option user taps, at the mean time I also need to know user is tapping within the picker scope.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’21
Reply to safe area includes notch?
Thank you for reply! I ran the code on an iPhone 14 simulator. The launch screen image overlapped the notch which indicates the issue will happen on a simulator in runtime. I have no real iPhone 14 device for now. I wonder whether the problem will happen or not on a device.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to pencil kit issue--drawing can't stay on canvas
xcode14.1, simulator iOS16.1
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to How to auto adjust the height of list row in edit mode?
Yes, the issue only happens when I tap the button in edit mode. I will read the linked post, thank you.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to "onTapGesture" interferes with segmented picker
@workingdogintokyo That's true. And long pressing on the option will also work. However, I want users can just click on it to select options. Otherwise, it seems to have a little bug, from the users' perspective.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to "onTapGesture" interferes with segmented picker
@OOPer By default, when the picker is tapped, the corresponding option will be selected. In addition to this,I also need to execute some other codes as long as any area within picker is tapped, no matter which option is selected. In other words, I need to know which option user taps, at the mean time I also need to know user is tapping within the picker scope.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21