Comments (8)
I've been using it with iPad apps all the time. You can open the demo provided in the project and change the device family to ipad. The demo UI will look bad on the ipad, but everything should be functional.
from dcintrospect.
I am also just getting a black screen (http://screencast.com/t/UXpxN3fSdB) on the iPad 4.3 emulator.
It seems the issue has to do with the calculation of the statusbar location. The black screen you're seeing is actually the status bar overlay, drawn with the dimension (w:1024, h:1024). As a quick check, try commenting out the code in "updateStatusBar" in the DCIntrospect class.
from dcintrospect.
I think I found the culprit. Do your applications launch into portrait or landscape mode? DCIntrospect works fine when the application supports portrait orientations, but seems to fail when you restrict the application to landscape. I tried updating DCStatusBarOverlay::updateBarFrame replacing all instances of self.frame.size.* with the constant 20, and then the bar is resized correctly.
However, possibly due to the unexpected launch orientation, the transforms don't work as expected and the overlay status is left floating in the middle of the screen... more precisely, at offset (748, 505) as measured by DCIntrospect itself.
from dcintrospect.
DCIntrospect works fine when the application supports portrait orientations, but seems to fail when you restrict the application to landscape.
Yes, and the problem can be reproduced with the DCIntospect Demo as well. Simply set shouldAutorotateToInterfaceOrientation to UIInterfaceOrientationIsLandscape(interfaceOrientation).
from dcintrospect.
I've tried to add a static variable to remember the first orientation the method goes through and use that to counter the expected rotation. See gradha@bae3260
Now the black bar seems to be positioned and rotated correctly but I'm missing the labels.
from dcintrospect.
Ok, ignore that one, I was looking at the wrong place, this should work better: gradha@548afd9
The help still comes up rotated incorrectly, but the bar should not be a problem any more. See if it works for you.
from dcintrospect.
Looks good. This does fix the status bar orientation issue for me.
from dcintrospect.
need restart Project and setting devices is iPad,
from dcintrospect.
Related Issues (20)
- IFDEF example in readme is wrong
- Space key non-functional after backgrounding HOT 1
- Apple LLVM compiler 3.0 compile fails HOT 1
- Keyboard issue with TextFields inside UIWebView
- The ApplicationAccessibilityEnabled hack may turn out to be a very bad idea HOT 2
- inputTextView captures all shake events HOT 1
- Cannot fully disable DCIntrospect HOT 1
- ARC HOT 3
- Infinite value not supported HOT 2
- Provide ability to select a superview HOT 4
- DCIntrospect stops work
- Unable to bring up introspector when UITextField has focus
- not a valid issue
- No further development HOT 1
- Add
- Add the ability to tag and display tags of views.
- error: unknown register name 'eax' in asm HOT 3
- Link to 'Introspect Demo Image' in README broken
- DEBUGGER instruction requires: Not 64-bit mode
- valueForKey "Too many arguments to function call, expected 0, have 3" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcintrospect.