Skip to main content
-3 votes
1 answer
82 views

This question is about displaying a camera view in a subview as opposed to the main self.view. According to AI, it should be possible to display it in a subview as long as the subview is in the view ...
user6631314's user avatar
  • 2,050
0 votes
1 answer
89 views

I have a label which is supposed to be a badge for unread notifications count, but since refactoring to use UIButton.Configuration the label always gets rendered behind the button label and image, no ...
vajzovic's user avatar
-1 votes
1 answer
139 views

I want to add view controller as subview inside the UIView . I have given the required constrains but I am not figure it out why it overlapping . Here is minimal code for it. I have given the top , ...
user avatar
0 votes
2 answers
127 views

I have two UIView and I want to add detailsView as subview with other view. I am getting following error: Cannot convert value of type 'MovieDetailsDisplayViewController.detailsView.Type' to expected ...
user avatar
1 vote
1 answer
129 views

I am trying add two view controller content into single view. Here How I am trying to do it . First create one single view controller and then add the require view into private function then call into ...
user avatar
0 votes
1 answer
639 views

I am adding SwiftUI View 'TestView' to contentView1 and contentView2. But it is adding to contentView2 only. anyone please help me understand that why SwiftUI View isn't adding to contentView1. I have ...
Aaban Tariq Murtaza's user avatar
0 votes
1 answer
551 views

I'm showing a UIView as subview in all view controllers using below function. func showSubViewInAllScreens() { let mySubView = MySubView() guard let window = UIApplication.shared.windows....
Arunachalam Ganesan's user avatar
0 votes
1 answer
495 views

I am trying to add a UIView into a UIScrollView without storyboard. I made some code with the given two files(CalcTypeView.siwft and CalcTypeViewController.swift) as below. However, as shown in the ...
Hoyeon Lee's user avatar
0 votes
2 answers
1k views

I would like to click and add subview at: index 3 position. But the constraint not update automatically. how can i refresh the layout when adding subview to uistack? Thank you for your help very much @...
wong john's user avatar
0 votes
0 answers
69 views

Had to cover a subclass of PDFView with an NSView to draw lines and texts, as PDFPage or PDFAnnotation don't seem to work at all. Successfully added the subview, showed a random text, but the problem ...
Young Shway's user avatar
0 votes
1 answer
2k views

Problem Subview added programmatically to containerView ( UIView, which is connected with @IBOutlet on storyboard ) inside presented HistogramViewController (ViewController) is out of proper layout. ...
Gromp1k's user avatar
  • 37
0 votes
1 answer
75 views

I am facing an issue of NavigationBar, I dont want it in subview (child view), I also used setNavigationBarHidden() method to hide but it is not working. class VehicleSavingPopupViewController: ...
Rajesab Yadahalli's user avatar
1 vote
0 answers
140 views

Trying to make a UIButton that when long pressed, exposes four subviews (UIButtons - north, east, south & west) that user can then slide finger to and lift for 4 separate actions. extension ...
Chameleon's user avatar
  • 1,606
0 votes
2 answers
466 views

I have a UIImageView which has another added UIImageView on top as subview, seen below: self.imageView.image = UIImage(named: "original_image.png") let demoStampImage = UIImage(named: "...
Umit Kaya's user avatar
  • 5,949
0 votes
1 answer
82 views

how can I add a UISwitch to a specific UIScrollView? As I guess it can be done with a tag, but I am having difficulties. EDIT: The problem was solved in the usual way, lol My example code with ...
juicexxx's user avatar

15 30 50 per page
1
2 3 4 5
37