I believe when you do some actions really fast this can happens too. I build something in like this:
if(![self.navigationController.topViewController isKindOfClass:[YOURCLASS class]]) {
More Related Contents:
- Exec Bad access while scrolling uitableview
- Pass data back to previous viewcontroller
- dismissModalViewController AND pass data back
- Animate change of view controllers without using navigation controller stack, subviews or modal controllers?
- Display clearColor UIViewController over UIViewController
- Storyboard – refer to ViewController in AppDelegate
- How to allow only single UIViewController to rotate in both Landscape and Portrait direction?
- In iOS6, trouble forcing ViewController to certain interfaceOrientation when pushed on stack
- Removing viewcontrollers from navigation stack
- UILabel updating stops during scrolling UIScrollView
- Get the current displaying UIViewController on the screen in AppDelegate.m
- CAGradientLayer, not resizing nicely, tearing on rotation
- Dismissing a Presented View Controller
- Xcode/iOS5: Move UIView up, when keyboard appears
- Am I abusing UIViewController Subclassing?
- How can I manually switch between UIViewControllers in storyboard?
- iOS – Passing variable to view controller
- How to read formatted string from a text file?
- iOS 6 apps – how to deal with iPhone 5 screen size? [duplicate]
- Aligning text and image on UIButton with imageEdgeInsets and titleEdgeInsets
- Detecting if iOS app is run in debugger
- Fetch all events from EventStore EventKit iOS
- Converting NSData to NSString in Objective c
- cellForRowAtIndexPath: not called
- UINavigationController Force Rotate
- NSFetchedResultsController with sections created by first letter of a string
- How to perform DNS query on iOS
- Prevent scrolling in a MKMapView, also when zooming
- Making a call programmatically from iPhone app and returning back to the app after ending the call
- Really cool way to create custom UITabBar for iPhone app?