0

I am adding some views & their subviews through code.I have added some subviews in a main views,now i want to print the hierarchy of views in which order they are added.Please tell me how can i print the hierarchy of view in iOS?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
TechChain
  • 8,404
  • 29
  • 103
  • 228
  • They are doing through story board.I want to do it by code. – TechChain Aug 13 '15 at 15:05
  • 2
    The accepted answer in the linked question explains the -recursiveDescription method, this is the correct approach regardless of whether views were added in code or in a storyboard. – alexkent Aug 13 '15 at 15:31

0 Answers0