Questions tagged [superview]

137 questions
-1
votes
1 answer

Calling loadView method to reload the uiview

I have a case where all my subviews of a viewcontroller (say A) are declared in the loadView method. When I remove the viewcontroller's view (say B) from the superview and add back viewcontroller A's view to the superview, how can I reload the view?…
Siddharthan Asokan
  • 4,321
  • 11
  • 44
  • 80
-1
votes
1 answer

Programmatically scroll UIScrollView using subview element

I would like to know how to access a UIScrollView using a subview UILabel. I have tried to access the UIScrollView using .superview; however I am now receiving an error No visible @interface for 'UIView' declares the selector…
HurkNburkS
  • 5,492
  • 19
  • 100
  • 183
1 2 3
9
10