This category is for all posts around iOS development (both Objective-C and SWIFT).
Question: How do I get the accelerometer to work in an iOS app using CoreMotion (XCODE 8.2.1 / iOS 10). That is to say – I want to detect when the user shakes the device. Answer (Shown in Objective-C): First, you will need to import the CoreMotion Framework. You can do this by going to […]read more