All Questions
Tagged with uitableview uiview
1,206 questions
-1
votes
1
answer
62
views
Tableview height issue after device orientation changed
I am showing a view Controller with a self sizing tableview inside a Container view. See green color view in image 1.
If the device orientation changed to Landscape mode, the UI has no issues and ...
0
votes
1
answer
32
views
Handling a tap of UIImage inside of UITableViewHeaderFooterView
I have a custom UITableViewHeaderFooterView which is called ProfileHeaderView. It does contain UIImageView called userImage. How can I access this userImage for adding a tap gesture.
Here's the piece ...
0
votes
1
answer
37
views
How do I move UIView to the back?
I have a prototype cell with some labels and image views, all added thru Storyboard. I am trying to add a color background view behind these elements (sort of like a bubble view behind the text that ...
0
votes
1
answer
39
views
How to calculate a height of UITableView inside UIView?
Please advise me if I have chosen the right approach:
I need to create a view with two UILabels and a UITableView in the middle (schematic view).
I created UIScrollView, put a contentView (UIView) on ...
0
votes
0
answers
128
views
Calculate a height based on a given width for a dynamic UIView
I have a UIView which consists of many dynamic sub views including UIStackView.
I have to add this UIView as my tableFooter, so I need to calculate it’s height. I tried calculated the height with two ...
0
votes
0
answers
23
views
I trigger from uiviewcontroller to viewmodel and updates view but from uiview even fetching data with urlsession works tableview reload is not working
this is my viewmodel fetching func I run it at the beginning with id = 0
func fetchLocationWithQuery(with id: String) {
NetworkManager.shared.request(type: LocationResult.self, url: "...
0
votes
1
answer
48
views
CollectionView didSelectItemAt did not activate in some simulators (e.g. iPad Pro 12.9 inch)
I cant figure out the following issue: I made a menu that should be usable for multiple apple devices. I tested it in several simulators of xcode (now 14.2). Some simulators work well but not all.
For ...
0
votes
1
answer
76
views
Status Circle in UITableViewCell not appearing | Swift
Would someone please tell me why the status bubble is not appearing? I have declared and activated everything, to my knowledge. Nothing appears at all related to the status bubble. Note: ...
-1
votes
3
answers
809
views
How to add UIView above a tableView Swift(iOS)
I'm trying to add a UIview above the tableView but my view is hiding behind the cells. The view should half on footer of section 0 and half on header of section 1, The empty space is tha padding for ...
0
votes
0
answers
139
views
How to add tableview with cell in xib UIView?
I need to do UIView like this for filter and I need to add UITableView on xib file with cell, but I don't have any idea how to do it, I can not register uitableviewcell in extension of class UIVIEW.
...
0
votes
1
answer
482
views
Setting UITableViewCell clipsToBounds = false in an insetGrouped UITableView
Here is the design I'm looking to achieve.
Seems easy enough to use a UITableView with UITableView.Style.insetGrouped and three sections. Then for the row in the second section, I figured I'd apply ...
1
vote
0
answers
959
views
iOS UIKit - How to create a modify a custom UIView programmatically
I'm trying to create a custom UIView (CardView) and display it in a UITableView
class CardView: UIView {
public var cardTitle = UILabel()
public var cardValue = UILabel()
override init(...
1
vote
1
answer
820
views
Creating custom table View with Cell properties programmatically
I am new to swift . I am trying to create table view and cell programmatically. I want to display the three label properties one below to another . I added the content view with respective label ...
0
votes
1
answer
167
views
Custom UIView inside TableView Custom Cell "jumps" on table load
I have a UITableView with custom cells inside it called NewsCell.
Inside the NewsCell I have a custom UIView that is used as an action button.
Many times when the TableView is loading a cell, the ...
0
votes
1
answer
788
views
Display data from tableviewcell into Pop-up UIView
I have a tableView showing multiple tasks already created by the user. When the user click on a task (tableView cell) i want to present a pop-up showing more info about the user's task. I already ...