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
  • 298,130
  • 40
  • 468
  • 517
TechChain
  • 7,104
  • 20
  • 81
  • 193
  • 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