damian-kolakowski / iOS-Hierarchy-Viewer

iOS Hierarchy viewer - View and Coredata debugging made easy
Other
1.35k stars 150 forks source link

Properly handling orientation changes #7

Open mattyohe opened 12 years ago

mattyohe commented 12 years ago

Am I missing something or is this a bug?

Basically this works perfectly if I don't touch the orientation of my simulator. If I do rotate to landscape, then it appears that no views that are subviews of the root view of the UIWindow will be transformed in the web viewer as evidenced by the image below:

Note the yellow it is highlighting is basically the identity transform of the segmented control.

I can provide sample code if needed, but I assume this is self explanatory.

EdgarHz commented 10 years ago

My App only support Landscape, then it appears like this also. I guess this issue is related with app.window.rootController in IOS6 and above.