Touches not registering? (5th gen Ipod Touch)

Hello,

I’m testing on an Ipod Touch 5th gen running IOS 7 still. My app is in portrait, the system is not registering touches on the left and right side of screen about 20px in from each side or it registers just an ended touched while my finger is on the object. I’m lost, is this an Ipod issue? The code runs fine and isn’t throwing any errors. 

Anybody else ever have this problem?

Steve

Hi Steve,

This is a “tall” device similar to the iPhone 5, correct? Did you include the “Default-568h@2x.png” launch image in your project directory, so the OS is being set in the proper tall mode?

See this page for more details:

http://docs.coronalabs.com/daily/guide/distribution/buildSettings/index.html#launchimage

Take care,

Brent

Brent,

Yep, got that and the UILaunchimages table in the build settings. I’ll keep playing with it, thanks for the reply.

Steve

Hi @attudesign,

How are you detecting touches? On an object? On the “stage”? As a Runtime listener?

Best regards,

Brent

Brent,

Its a touch event on a physics object. As soon as I get around to putting it up on testflight I’ll have one of my friends try it on a new iphone. 

Steve

Hi Steve,

In this case, it’s more likely a code issue. The physics part of this should be unrelated (for touch purposes). Can you show what the base object is, and whether you’re resizing it or something?

Also, what is your content area settings within config.lua (scale, width, and height)? We can probably diagnose this without you needing to deploy to TestFlight.

Thanks,

Brent

Brent,

I’m an idiot. I have a chunk of code checking for the player moving their touch off the board and didn’t code up the change for aspect ratio into it… sorry to waste your time, but thanks for the help. My coding partner is currently locked in a battle of wills as the deceptions fight the autobots for living room domination and he isn’t much help. he’s 4… 

Steve

Hi Steve,

Happy to help, and glad that you solved it. This may be one reason why many coders do their best development between the hours of 12 AM and 3 AM. :slight_smile:

Brent

Hi Steve,

This is a “tall” device similar to the iPhone 5, correct? Did you include the “Default-568h@2x.png” launch image in your project directory, so the OS is being set in the proper tall mode?

See this page for more details:

http://docs.coronalabs.com/daily/guide/distribution/buildSettings/index.html#launchimage

Take care,

Brent

Brent,

Yep, got that and the UILaunchimages table in the build settings. I’ll keep playing with it, thanks for the reply.

Steve

Hi @attudesign,

How are you detecting touches? On an object? On the “stage”? As a Runtime listener?

Best regards,

Brent

Brent,

Its a touch event on a physics object. As soon as I get around to putting it up on testflight I’ll have one of my friends try it on a new iphone. 

Steve

Hi Steve,

In this case, it’s more likely a code issue. The physics part of this should be unrelated (for touch purposes). Can you show what the base object is, and whether you’re resizing it or something?

Also, what is your content area settings within config.lua (scale, width, and height)? We can probably diagnose this without you needing to deploy to TestFlight.

Thanks,

Brent

Brent,

I’m an idiot. I have a chunk of code checking for the player moving their touch off the board and didn’t code up the change for aspect ratio into it… sorry to waste your time, but thanks for the help. My coding partner is currently locked in a battle of wills as the deceptions fight the autobots for living room domination and he isn’t much help. he’s 4… 

Steve

Hi Steve,

Happy to help, and glad that you solved it. This may be one reason why many coders do their best development between the hours of 12 AM and 3 AM. :slight_smile:

Brent