Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer peopleโ€™s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer peopleโ€™s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9002481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:34:36+00:00 2026-06-16T00:34:36+00:00

I have this strange problem. In my app I’m asking the device, if DeviceMotion

  • 0

I have this strange problem. In my app I’m asking the device, if DeviceMotion is available:

if (coreMotionManager.isDeviceMotionAvailable) {

    coreMotionManager.deviceMotionUpdateInterval = 1.0 / 60.0;
    [coreMotionManager startDeviceMotionUpdates];

    [NSTimer scheduledTimerWithTimeInterval:1.0 / 60.0 target:self selector:@selector(didUpdateCoreMotion) userInfo:nil repeats:YES];
}
else {
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error" message:@"NO DEVICE MOTION" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
    [alert show];
}

but it’s always false…
What am I doing wrong? I’m doing this on my iPad 3 and I already played around with CMMotionManager in the past and with it’s .deviceMotion.attitude.roll, pitch and yaw and everything was just fine. But now I just always get alert o.O

Does anyone have an idea what can be wrong? Thx very much for any help ๐Ÿ™‚

Finally restarting my Mac helped, after restart it all just worked! ๐Ÿ™‚ Thanks Kay for sticking around and help ๐Ÿ™‚

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:34:37+00:00Added an answer on June 16, 2026 at 12:34 am

    Finally restarting my Mac helped, after restart it all just worked! ๐Ÿ™‚
    Thanks Kay for sticking around and help ๐Ÿ™‚

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a really strange problem I'm seeing in my app. I have an
So this is a really strange problem. I have a Java app that acts
I have this very strange problem on a big flex app where it would
I have this strange problem. I am retrieving twitters and it works on the
i have this strange problem with the PHP function CTYPE_ALNUM if i do: PHP:
Starting from Android 3.2 I have this strange problem. It's very easy to reproduce:
I have a strange problem. I have this method, which should generate a Date
I have a strange problem. I do this query in a node.js server using
I am facing a strange problem and have no idea how to fix this
I have a problem with a strange crash on iPad 5.0. This crash only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.