does anyone know if it would be possible to call the CMStepUpdateHandler block without waiting for the quoted number of steps?
The reason I want this, is that if the user starts the startStepCountingUpdatesToQueue:updateOn:withHandler: and suspends the app, only to reopen AFTER they have finished walking, the step count will not update as it is necessary to then walk the quoted number of steps with the app in the foreground before the steps are displayed.
Any help greatly appreciated.
PS, see here for documentation... https://developer.apple.com/LIBRARY/IOS/documentation/CoreMotion/Reference/CMStepCounter_class/Reference/Reference.html
iOS7 - CMStepCounter Class Issues
438 views Asked by NeilMortonNet At
1
There are 1 answers
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in IOS7
- How to make some buttons of tableView cells clickable and some unclickable | iOS
- Customise Tab Bar with rounded button Issue swift
- Get a framework's Bundle Identifier programmatically
- Change swift SKSprite node animation based on velocity
- How to add custom button on AVPlayerViewController in Objective -C iOS?
- Avoid performSegue multiple times
- Downgrade iPhone 5s in iTunes recovery mode
- Upload file to server using SCRFTPRequest
- The socket closes after 3 minutes after putting the application in the background
- What causes undefined is not an object (evaluating 'win['Ionic']') during ionic build?
- iOS 7 and TLS1.2 support
- Using StringWithFormat generates different results using float and long
- iOS development certificates Issue
- How to show progress bar for web service call in ios app
- Samsung Galaxy S8 navigation bar overlays fixed position div
Related Questions in BLOCK
- How to create additional options for a specific block
- How can i display this.state value in save.js?
- Can images be blocked from being pushed to Harbor based on the number of artifacts for that image?
- Codesys question about using a Ladder function block into a SFC (doesn't work properly)
- Wordpress how to Program Reusable Blocks
- Seeking Guidance on Understanding Chainpoint-js
- Minecraft fabric overriding existing blocks 1.20
- Blocking certain domains from php mailer process script or form
- Not able receive block level events in hyperledger fabric golang
- Switching block PNGs in PyGame
- block-grid not working in Foundation framework
- How to create a database block under toggle block via Notion api?
- Guttenberg search link Customization issue
- Gutenberg Block, Change supports with controls
- How to programmatically insert post excerpt block in Gutenberg block editor with content?
Related Questions in CORE-MOTION
- Activity detection in iOS - Activity Manager want to detect automotive activity in background,foreground and app terminate states
- iPhone: No barometric pressure data in iOS 17.4
- Unable to display `CMMotionManager.attitude` in a TextView?
- How to get the accurate distance of patients walking in house
- Using CMHeadphoneMotionManager in independent WatchOS app to Access AirPods Pro Accelerometer Data
- iOS and watchOS: Notfiied when user starts walking
- CMMotionActivityManager doesn't detect automotive activity
- Unity iOS gyroscope always returns constant value
- Apple Watch IMU Data stops logging on wrist down
- Swiftui Apple WatchOS cant figureout how to run it in the background, it suspend on the moment I put down my hand
- CoreMotion and how to update a reference CMAttitude?
- scheduled timer with CoreMotion
- How to cast a CMRotationMatrix from CoreMotion to be used by a SceneKit camera (or any SCNNode)
- How can apps like Autosleep get days of historical motion sensor data?
- Detect Apple Watch movement without having location updates always turned on?
Related Questions in APPLE-M7
- What UIRequiredDeviceCapabilities key is linked to the M7 Processor?
- Detecting if a user is at home
- Determine authorization status of Core Motion Services (eg. M7) before prompting user?
- m7/m8 detect if motion activity authorization was denied
- How to detect M7 co-processor sensoring in an application
- CMMotionActivityManager ignores cycling
- How to calculate distance travelled , speed , duration in iOS devices with M7 Co-processor?
- Detecting when someone begins walking using Core Motion and CMAccelerometer Data
- How to use the new M7 motion co-processor in an app?
- CoreMotion activity tracker in background
- How to use CMMotionActivityManager and receive updates?
- iOS CMStepCounter & CMMotionActivityManager
- What does the iOS Simulator’s “Motion Control” menu item do?
- How to implement CMStepCounter CoreMotion - M7 Chip
- Motion activity to work in suspended state in ios
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Having researched this, it seems the behaviour above is default, and so opted to use the CMStepCounter query option.