Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
56 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
2 votes
0 answers
52 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
1 answer
119 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
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
47 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
1 answer
60 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,981
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
1 answer
34 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
-2 votes
1 answer
74 views

I’m working on a UI layout with a ScrollView and a ContentView inside it. When the app is launched, the ContentView displays only the content that fits on the screen initially. However, when I try to ...
Rustin Wilde's user avatar
0 votes
0 answers
64 views

Let's say I'm trying to mimic iMessage's message view. Currently, I have a UICollectionView and a text input view that are subviews of a UIViewController's view. The constraints are laid out to place ...
Hunter E.'s user avatar
  • 108
-1 votes
1 answer
79 views

I use the scroll on the screen. At the same time, when displaying the screen on SE there are no problems, when displaying on large screens, a large gap appears between two elements. How to change this ...
gii's user avatar
  • 3
1 vote
1 answer
645 views

I want to create a sheet in SwiftUI, it has 3 PresentationDetends Types [.fraction(0.2), .medium, .large]. When I add these 3 types, I can move the Sheet to the 3 sizes I want. However, I also want to ...
yama_HD's user avatar
  • 568
0 votes
1 answer
67 views

I'm trying to learn UIKit and toying around with a UIScrollView. My goal is to create a UIScrollView that contains an image that I can pan and zoom. Upon first render, as title says, the image's ...
Niccolò Della Rocca's user avatar
1 vote
0 answers
58 views

I have a component that displays a UIView inside a UIScrollView and makes the view zoomable and pan-able. In general, the component works well, but there's a case where it breaks pretty significantly: ...
jnpdx's user avatar
  • 53.3k
2 votes
1 answer
2k views

I am trying to create an interface with a vertical scroll view at the top level, then a horizontal scroll view (using the new paginated scrolling from iOS 17) to display a number of child views that ...
Brandon Slaght's user avatar
0 votes
1 answer
77 views

i want to detect when the user scroll on the scrollview and above a certain scroll item show up a button, i wrote this code on my up looking online some example but there is no printout on the change ...
Damiano Miazzi's user avatar
0 votes
1 answer
45 views

Let's say I have a horizontally scrollable UIScrollView with various types of content. It could be images, UIViews etc. I would like to fade transparent the left and right edges if the content is ...
sudoExclamationExclamation's user avatar
1 vote
1 answer
187 views

Please look at the below picture of my storyboard to understand the layout of my views. On the left side is a horizontal UIStackView with 2 buttons. This is okay. On the right side of the above stack ...
sudoExclamationExclamation's user avatar
1 vote
1 answer
2k views

I am working on a IOS SwiftUI project where I’m trying to replicate this kind of animate on scroll behaviour (not sure if it has a name): https://www.lemonde.fr/les-decodeurs/visuel/2023/06/07/...
Paul 's user avatar
  • 13
1 vote
1 answer
88 views

I'm having issues with UIScrollView when doing pinch-to-zoom UIImageView. Implementation is relatively simple which you can find in many places on the Internet. Double tap to zoom in and out works ...
Dmitry Klimkin's user avatar
2 votes
2 answers
2k views

I'm encountering a layout issue in SwiftUI on iOS 17 where Color views within a VStack inside a ScrollView begin to overlap as I scroll down. Each Color view is supposed to take up the full container'...
Muhand Jumah's user avatar
  • 1,968
0 votes
1 answer
84 views

I am developing an app on SwiftUI. Everything works fine until I try to wrap my code inside a scrollview. The problem is that my first image inside ZStack automatically leaves some space at the top ...
AranAli's user avatar
  • 57
1 vote
1 answer
301 views

I'm encountering a problem where a blur effect appears at the top of the screen when scrolling in a UIScrollView. Despite my efforts to resolve the issue, I haven't been successful. Below are more ...
ManojkumarS's user avatar
0 votes
1 answer
30 views

I need to include tooltip images. If it is possible to scroll down, I include the bottom tooltip. If it is possible to scroll up, I include the top tooltip. If I can scroll up and down, I turn on both....
VitiX's user avatar
  • 3
0 votes
1 answer
183 views

I am building an app with a scrolling view to create a feed. I have a view model that provide the data and the SwiftUI display it. As of now, I have followed a clean parttern and not pulling yet data ...
Seb's user avatar
  • 3,255

1
2 3 4 5
250