Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
3 votes
1 answer
330 views

I have a SwiftUI horizontal editor (multiple "canvases" laid out side‐by‐side in a ScrollView). When the user drags a selected object and reaches the left/right edge of the visible area, I want the ...
Hector's user avatar
  • 3,583
1 vote
1 answer
180 views

I am trying to use the topEdgeEffect API in iOS 26, but even setting the effect style to ".soft" does not work: class ViewController: UIViewController { var scrollView: UIScrollView! ...
0 votes
0 answers
72 views

I have a horizontally scrolling UICollectionView in Swift. Inside scrollViewDidScroll, I apply a rotation and scale transform to visible cells to create a card-tilt effect. The issue: If I double-tap ...
2 votes
0 answers
64 views

The Issue I've created a zoomable image component for SwiftUI by wrapping UIScrollView and UIImageView using UIViewRepresentable. The core functionality, like pinch-to-zoom, double-tap-to-zoom, and ...
0 votes
2 answers
58 views

In the scroll view I have one central view (gray) that should zoom normally and some other views (orange) which should keep their visual size and space to the gray view. I can keep size by applying ...
0 votes
1 answer
133 views

The SwiftUI ScrollView lacks some features I need and so I created a custom MyScrollView based on UIScrollView wrapped within a UIViewControllerRepresentable. While this works fine in general I know ...
0 votes
0 answers
90 views

The SwiftUI ScrollView lacks some features I need and so I created a custom MyScrollView based on UIScrollView wrapped within a UIViewControllerRepresentable. While this works mostly fine, the ...
0 votes
1 answer
57 views

I’m having a weird UIKit problem. I have a bunch of views in a UIScrollView and I add a UIContextMenuInteraction to them when the view is first loaded. The interaction works great for any of the views ...
0 votes
0 answers
45 views

I have a header which is basically a rounded rectangle with some text and two buttons and a background image behind the rectangle which stretches to the very top. And, I have some ’TabRow’ buttons ...
0 votes
0 answers
55 views

I have this class: class SectionCellRowCollection: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate { required init?(coder aDecoder: NSCoder){ fatalError("...
0 votes
0 answers
55 views

How to Detect Scroll Completion Before Calculating Frame in Swift (iOS)? I am working on an iOS application where I have a screen containing both a UICollectionView and a UITableView. The ...
0 votes
1 answer
65 views

I have the following scrollview but it's not scrolling. How can I fix it? private func setupUI() { let scrollView = UIScrollView() scrollView.translatesAutoresizingMaskIntoConstraints = false ...
-1 votes
1 answer
68 views

I am working with UIKit. I have a main view that contains a few stack views + few label views + a horizontally scrollable collection view. I am then adding this main view to a superview. I would like ...
1 vote
0 answers
45 views

Here is what I would like to do: I would like to make a scrollview in my app where when the user scrolls all the way to the top, the top content is exactly in the middle of the view, same thing for ...
dan's user avatar
  • 11
0 votes
0 answers
88 views

I am trying to update the text "Selected colour: " based on the colour that is selected by the user. Once the View is refreshed it shows a colour but when the user scrolls through the ...

15 30 50 per page
1
2 3 4 5
...
833

AltStyle によって変換されたページ (->オリジナル) /