Skip to main content
1 vote
1 answer
104 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! ...
Hans Knöchel's user avatar
0 votes
0 answers
70 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 ...
Ahmed rafaat's user avatar
2 votes
0 answers
58 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 ...
Silenter's user avatar
0 votes
2 answers
56 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 ...
schmidt9's user avatar
  • 4,560
0 votes
1 answer
125 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 ...
Andrei Herford's user avatar
0 votes
0 answers
81 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 ...
Andrei Herford's user avatar
0 votes
1 answer
50 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 ...
Bill's user avatar
  • 46k
0 votes
0 answers
42 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 ...
Phela's user avatar
  • 1
0 votes
0 answers
54 views

I have this class: class SectionCellRowCollection: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate { required init?(coder aDecoder: NSCoder){ fatalError("...
Martin Perry's user avatar
  • 9,585
0 votes
0 answers
52 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 ...
Hakan Or's user avatar
0 votes
1 answer
64 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 ...
Rue Vitale's user avatar
  • 1,975
-1 votes
1 answer
66 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 ...
luismps's user avatar
  • 43
1 vote
0 answers
44 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
85 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 ...
Gurpreet Singh Bhatia's user avatar
0 votes
1 answer
41 views

I’m using VNRecognizeTextRequest to provide VNRecognizedTextObservation datum. The image is shown in UIImageView with UIViews of the BoundingBoxes identified, all being subviews of a parent UIView. ...
swainwri's user avatar

15 30 50 per page
1
2 3 4 5
833