Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app runs in emulator mode (scale 2x) #25

Open
PhilTha opened this issue Jun 19, 2013 · 0 comments
Open

app runs in emulator mode (scale 2x) #25

PhilTha opened this issue Jun 19, 2013 · 0 comments

Comments

@PhilTha
Copy link

PhilTha commented Jun 19, 2013

If my iPhone app runs in the emulator mode iPad i got an error

  • (void)layoutSubviews{

'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 240]'

width/faktoredWidth was devided by zero

Is there a possibility to use iphone only image picking on a ipad running the iphone app emulator?

I think i have to test this idom.

if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone &&
[[[UIDevice currentDevice] model] hasPrefix:@"iPad"]) {
// This app is an iPhone app running on an iPad
}

If i remove all ipad idoms i still got this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant