Questions tagged [viewwilldisappear]

21 questions
0
votes
0 answers

Notification not removed

Using Swift4. In one of my ViewControllers I use some Notifications. The observer is in the ViewDidLoad. The calls are in a view that I lay over the VC. This for a generic menu. When exiting the VC I call…
Vincent
  • 4,342
  • 1
  • 38
  • 37
0
votes
2 answers

How to manage code in ViewWillDisappear?

I am working in xamarin.ios. I want to show a confirmation popup when user click at back navigation button at top that if user is sure he wants to go back previous screen. I override the ViewWillDisappear method and called my popup there, but still…
anand
  • 1,399
  • 5
  • 23
  • 55
0
votes
1 answer

CustomView in ActionBar disappear when orientation change ? (AppCompat)

Problem : I personalized my actionBar (SupportActionBar) with a renderer on my CustomNavigationPage beacause I use AppCompat theme. So, I added my CustomView (a SearchBar) in the actionbar from this class. But ... when we change the orientation…
0
votes
1 answer

Wait with execution of viewWillDisappear until custom animation has completed?

I'd like to perform an animation when the user taps on the back button to segue back to my Root View Controller. The animation will simply highlight the changes that the user made in the detail view controller. I tried this. The animation itself…
Daniel
  • 3,758
  • 3
  • 22
  • 43
0
votes
2 answers

UINavigationController popToRootViewControllerAnimated goes back one by one

This is the simple code I am calling to go back to rootViewController of UINavigationController : -(void)viewWillDisappear:(BOOL)animated { [self.navigationController popToRootViewControllerAnimated:YES]; [super…
Nitish
  • 13,845
  • 28
  • 135
  • 263
-1
votes
2 answers

Swift IOS app won't start after idle for over 1 day

I have a simple app in Swift with just a few views: A UIWebView some TableViews and another view with some data I download from my server It all works well until when using the app I press the home button, leave there for a while then the iPad…
matt
  • 2,312
  • 5
  • 34
  • 57
1
2