I added an observer of UIDeviceOrientationDidChangeNotification and the selector of the observer is orientationChanged: My app only support landscape left and landscape right, if you rotate the iPad like Turnning the steering wheel, the selector will get called perfectly. but if you rotate the iPad like rolling, the selector will be called when the iPad is nearly flat, but not flat yet, the selector will be called! how could it happen ,anyone encounter this problem?
unexpected UIDeviceOrientationDidChangeNotification get called
779 Views Asked by Leon At
1
There are 1 best solutions below
Related Questions in IPAD
- Setting View orientation to portrait is ignored
- How to force close ipad/iphone keypad when input element is not focused using JS?
- UIDocumentInteractionController presentation style
- iOS coordinates for iPad and iPhone game using spritekit
- What is the best practice when making a storyboard for iPhone and iPad?
- Exchange plist data between 2 iPad using iCloud
- an app supporting arm64 and armv7 running on arm64 and ios 7 ipad air
- My SIOSocket get disconneted automatically when i locked my ipad
- using livestream video in iOS application
- Always shown vertical and horizontal scroll indicator on a uiwebview
- Is it possible to opt your iPad app out of multitasking on iOS 9
- Bind html button click with objective c
- iPhone App won't run on ipad at 2x resolution
- Missing icon and storyboard files, iOS 7 and 8, Xcode 6
- iOS infinitely deeply nested TableView/UIGestureRecognizer view tree AND iPAD requires 2 finger scrolling on a tableview
Related Questions in ROTATION
- Get current rotation in degrees of group in snap.svg
- Change the rotating speed of the circle when the mouse moves using javascript
- WKWebView added as Subview is not resized on rotation in Swift
- Three.js, Camera rotation around a point
- Android screen flips on usb keyboard connection
- Object doesn't moving well in rotation
- Rotating Shape with KineticJS
- Controlling/moving an object in a circular motion in Unity
- Android rotating wheel set end point
- Rotate animation after Translate doesn't work on Android
- Android: Upon Rotation, Current Fragment Disappears (How to Save State)
- Rotation and getBounds() in Phaser
- raphael js drag rotation in Firefox and Internet Explorer
- Rotate Point3D around Unit Vector
- Realistic rotation of a 3D model in libGDX by dragging
Related Questions in NOTIFICATIONS
- Display both alertTitle and AlertBody on a custom WatchKit notification
- App crash (if closed) after click on notification
- Design pattern for corner-case logic without switch and conditional statements
- How display notification on IOS 8 like in google maps in navigation time
- Phonegap notification.alert works only in Android
- Allow user to select notification sound in iOS Notification Settings
- Send a Android BLE GATT Notification
- How to remove notifications when touched?
- Change text of a TextView using a notification action without opening the app
- ViewController deinit after performing segue using Notification
- Using AS3 Timer & distriqt Notification ANE To Send Notifications While In Sleep Mode
- How to show notification in android with arabic text?
- Notification not appearing Notification Tray
- how to notify a user when a new sql record inserted?
- Should I catch Exception, Throwable or other in EventDispatcher/Observable
Related Questions in FLAT
- Android - How to check for button click in a custom alert dialog box?
- Loop for reading txt file with multiple headers and detail items in php
- Does F# has function to "flat" a map to list, like scala?
- Invalid Data Causes SSIS Flat File Import to Hang
- Flat action bar with Theme.Material
- Extreme XSLT 1 Flat to Hierarchial Transform needed
- Extreme XSLT 1 Flat to Hierarchial Transform needed take 2
- Combine two flat contingency tables (ftable) in R?
- Flat Data to Hierarchical Model C#
- XSLT a flat list to a tree hierarchy
- Flat file event calendar in PHP
- Flat button in WPF - trigger not firing
- Build a tree from a flat array in PHP
- Fix length record and creating a file
- why won't this css button center inside div?
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)
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?
I guess when you rolling the observer is called
orientationChanged: with one of these orientation,By default, an app and a view controller’s supported interface orientations are set to
UIInterfaceOrientationMaskAllfor the iPad.OR
Use UIApplicationDidChangeStatusBarFrameNotification instead of UIDeviceOrientationDidChangeNotification - From the @Leon Comment.