Context: In the iOS UIKit project, written in swift lets say I have a Super view - 'A' with frame (0, 0, 320, 200) and I have a subview say 'B' with ...
Context: In the iOS UIKit project, written in swift lets say I have a Super view - 'A' with frame (0, 0, 320, 200) and I have a subview say 'B' with ...
I'm curious on how does SwiftUI applies some of the available view modifiers like keyboardShortcut, which can be applied to any View but it will only ...
I am receiving this error message. I am trying to make a subview that I can reuses to display a row in my app. For some reason, it is pointing to th ...
I'm trying to create these 6 UITextField centered within a UIVIew that I have centered and is 0.85 the width of self.view. I was able to get it workin ...
i'm trying to draw over UIImageView with this custome class and i would like to be able to change the size and color of lines being drawn by user. But ...
I want to change the state of a subview via a function call of the subview. But the view is not updating. It is possible to to this with @Binding, ...
I have a scroll view which contains different ui components such as text fields, labels etc. The scroll view takes almost the full size of the screen. ...
Is there a way for me to have two views that always remain one on top of the other no matter what gets added? For example I want to have ViewA contai ...
I have a ViewController which uses multiple Subviews (HomeViewController, etc.) which can be selected via a Custom Tab Bar at the bottom of my app. In ...
I am currently trying to create a temporary view that covers the entire window of my app (except the tab bar) while the background threads loads the c ...
I am trying to add a subview in between statusbar and navigationbar, so I have set the y position = 0 and after that I am reducing UIApplication Keywi ...
I have setup a simple layout with a button which, when pressed, causes the storyboard subview to load a xib file and assigns its view to the storyboar ...
I created class :UIView, where l made a label, textField and stackView. I want to add them to my stackView, but l can't figure out where is the proble ...
I want my swift code to copy the object which is a brown view. So the user hits the copy button then the user hits the object they want to copy and th ...
The func addBlackView is adding a black view everytime the func is called. The black view is connected a to uiPangesture the problem is evertyime the ...
I insert a UIView into a UIButton with following code: The promlem is that the backgroundView covers the whole button and I only see the red field ...
I'm setting border of UICollectionViewCell in this way: The problem is that I'm adding a subview over this collectionviewcell and it goes beneath t ...
I have a few custom action sheets. They are fully custom controls, not based on UIActionSheet. I add them as subview to the view controller and animat ...
I have added a subview to my UItableView when No result found. but I have a problem with the portion of "No result found"UIView. it is centre and bloc ...
I need to clip the view behind a Text by using its Rectangle. When I add a Text over this 1-pixel height rectangle, I need it to "clip" the subview be ...