Setup nagivation bar – Ios swift
How to implement navigation controller to look like in the screenshots below in UIKit? By default When user scrolls Generalizing, I need to have large title, small label above large title and button with image
How to implement navigation controller to look like in the screenshots below in UIKit? By default When user scrolls Generalizing, I need to have large title, small label above large title and button with image
I have one UIStackView that stacks vertically two horizontal UIStackViews. That worked just fine. But the first sub-UIStackView had too many elements so I decided to wrap it inside a scrollView. The problem is that when I do so, this…
Problem: I want my footer UIStackView to hug its content when views are laid out, and take priority over the UIScrollView . Currently the header UIStackView and main body UIScrollView hug its contents, causing the footer UIStackView to expand, therefore…
I currently need to calculate/ find the frame in an overlapped area of two UIViews. As an example, I have attached an image of two UIViews overlapping, as well as a white outline of the area/ frame that I would…
I currently have a UIScrollView with a UIImageView (top image) positioned below the UINavigationBar. However, I want to position the UIImageView at the very top of the screen (bottom image). Is there a way to implement this? What I've tried…
I have implemented a feature, when you press on a UITabBar icon and viewController1 scrolls up using its UIScrollView. It works perfectly, but if I scroll view down and stop somewhere, then switch to another viewController2, then get back to…
I have a MainViewController that contains a ContainerViewController. The ContainerViewController starts out showing childViewControllerA, and dynamically switches it out to childViewControllerB when a button in the childViewControllerA is clicked: func showNextViewContoller() { let childViewControllerB = ChildViewControllerB() container.addViewController(childViewControllerB) container.children.first?.remove() // Remove…
how to remove the default gray colour when change detent in modal presentation from medium to large ? I need to remove this gray colour attached in above image while drag page sheet or move it I need to make…
I want to change the color of UIbuttons but problem is that I have tried changing color in @IBAction func buttonPressed(_ sender: UIButton) { sender.backgroundColor = .red } it is not doing anything but on the same time some other…
I have a requirement to create colourful string where each letter should have multicolors / rainbow colors. Refer the attached image for better understanding. This need to create using Swift 5+ (UIKit) coding for an iOS app's dashboard. In web,…