Skip to main content
-1 votes
0 answers
32 views

Collection View inside of Table View Error - Expected dequeued view to be returned to the collection view in preparation for display

We have a collection view inside of a table view and this was working at one time. I am not aware of when it broke but in working on other enhancements today I found this error: Thread 1: "...
Douglas W. Palme's user avatar
0 votes
0 answers
37 views

Prevent UITableViewCells to grow when attached to contextual menu and long pressing on it [duplicate]

In Swift, I have a UITableView with UITableViewCells in it, representing each row of the table. When I long press on it, the row is slightly growing before displaying the contextual menu. How to ...
Laurent Crivello's user avatar
2 votes
1 answer
135 views

UITableView inside UITableViewCell causes scroll jump when updating height dynamically [closed]

I have a UIKit app where chat messages are displayed in a UITableView. One of the message types is a cell that contains another UITableView (a nested table view). The nested table view needs to size ...
Karthikeyan Muthu's user avatar
0 votes
0 answers
52 views

Margin inside UITableViewCell when using SwiftUI

I'm working on a UIKit app which has a UITableView. I've created the following card view using SwiftUI. struct PropertyRow: View { let propertyItem: PropertyItem var body: some View { ...
cenisuru's user avatar
0 votes
2 answers
58 views

Table view lags while scrolling

I have a UITableView with cells that display chat messages. Some messages contain code blocks which I render inside the cell by dynamically creating and adding custom CodeBlockView instances to a ...
Ahsan Murtaza's user avatar
0 votes
0 answers
57 views

Tableview is crashing only on TestFlight build with Xcode 16.2 build

I'm working on the app, which uses a table view to display data from the API. Everything worked fine until Xcode 16. Now, when we are testing the build on a test flight with Xcode 16.2, the app ...
user3306145's user avatar
0 votes
1 answer
36 views

Receiving "Attempt to present X on Y whose view is not in the window hierarchy" when trying to present a popover from didSelectRowAt

I'm a bit of a newbie and I may be out of my depth here, but I am running into an issue that I can't seem to crack. I have a prototype tableview cell in which I am using an array to show an image (...
Wasko Ltd's user avatar
-5 votes
1 answer
111 views

Is Apple's iOS documentation incorrect about previously registered class with the same reuse identifier being replaced with the new cellClass? [closed]

Apple's documentation says that: If you previously registered a class or nib file with the same reuse identifier, the class you specify in the cellClass parameter replaces the old entry. You may ...
sudoExclamationExclamation's user avatar
1 vote
1 answer
72 views

UILabelView not displaying the entire picture swift 5 NSTextAttachment

We are trying to display an image in a UILabel view using Swift 5. Here is the code that we have. Unfortunately, instead of the entire image displayed at 75% of width of screen and 75% height of ...
Jack tileman's user avatar
0 votes
0 answers
60 views

Jump when animating SwiftUI view in UITableView cell with matchedGeometryEffect

I created the following MRE to demonstrate how a SwiftUI view with matchedGeometryEffect in UITableView cell causes visual jump during animation despite height updates. Initially, the cell would not ...
fingia's user avatar
  • 647
0 votes
2 answers
69 views

UITableView with UICollectionView cell: How to determine cell height at initialization?

I have a UITableViewController with UITableViewCells containing a UICollectionViewController. Each UICollectionViewController, also contains a cell containing a UIViewController of varying size. ...
Erzie's user avatar
  • 1
0 votes
2 answers
68 views

Unable to reset user default text within a set cell:

This is my code: class WeatherFeatures: UIViewController, UITextViewDelegate, WeatherManagerDelegate { let date1ForTableView = UserDefaults.standard let low1ForTableView = UserDefaults....
Train Lover's user avatar
0 votes
2 answers
61 views

Struggling to implement specific variables into a table view cell because of user default values missing

I have been working to make a weather feature in my app, which takes API data from Visual Crossing. The issue is that the data is extracted into my app in a seperate function then that which sets my ...
Train Lover's user avatar
-1 votes
1 answer
78 views

How to prevent UITableview cells from repeating the view inside it?

I have a table view which shows an array of signature views with guest details. When the cells are scrolled the signature from cell 1 is repeated in cell 6 and 2 in cell 7 and so on. (table view ...
vladislav.samsotech's user avatar
0 votes
0 answers
47 views

How to Detect Scroll Completion Before Calculating Frame?

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

15 30 50 per page
1
2 3 4 5
4288