Questions tagged [viewdiddisappear]

viewDidDisappear is responding method of view events in UIViewController.

10 questions
4
votes
0 answers

Changing the key window does not call view will/did dis/appear

When I change the key window, the rootViewController(s) do not receive view will/did appear/disappear. SplashViewController *screenLockViewController = [[SplashViewController alloc] initWithNibName:@"SplashViewController" bundle:nil]; …
1
vote
0 answers

@IBOutlet View is nil on viewDidDisappear

i have problem on a custom view used in a viewController. Assume custom xib view (AddButtonWithOptions, a button which shows some options when tapped) is being added to ViewController with interface builder. And on the viewDidDisappear function, i…
1
vote
1 answer

Hiding an overlayed button on a Tab Bar

I am newbie in iOS and Swift. I am currently working on an application where I am required to show a tab bar with a big button in the center. Given the time constraints, what I have done is I created a button in the Window and positioned it on top…
Keya
  • 859
  • 3
  • 9
  • 17
1
vote
0 answers

viewDidDisappear called because of termination?

Normally viewDidDisappear is called in my app, because back button was pressed in navigation viewcontroller. But if app is terminated viewDidDisappear is called too. How can I make distinction between the two reason?
János
  • 32,867
  • 38
  • 193
  • 353
0
votes
1 answer

react-native: Letters disappear after re-rendering On the current page in react-native

It was successful to display the data received through axios after moving the page. But when it is re-rendered, the letters disappear. I don't know which one is the problem. const MyPage = ({ navigation, info }) => { const [userInfo, setUserInfo]…
byungju
  • 69
  • 1
  • 5
0
votes
2 answers

Swift: Reload data in UITableView element triggered in an external class

I'm trying to call the reloadData() method to update a table view in an external class (different view controller), using the method viewDidDisappear(). I can already update the table view when the view where it is located is loaded or…
0
votes
1 answer

viewDidDisappear not showing ad

Im using startApp to display ads but when the view disappears it doesn't show the ad. I have startAppAd = STAStartAppAd() in viewDidLoad() I'm not quite sure what is going wrong. override func viewDidAppear(_ animated: Bool) { …
tHatpart
  • 1,302
  • 3
  • 12
  • 27
0
votes
1 answer

Data in angular is getting displayed and disappearing when used $scope

My ejs file is : Express App

Express!

Sity
  • 1
  • 1
0
votes
0 answers

Border disappear when access web by Iphone or Ipad

I'm newbie. I have created a table ( maybe a box ) with one row and one column. I want to see this table when I access it in PC or Laptop. But when I access it by Ipad or Iphone, I don't want to display this border. Please tell me how to do…
0
votes
0 answers

AVPlayerLayer existing even after the viewDidDisappear method call in iOS

In my application, I'm using AVPlayer to play a YouTube video with the help of HCYoutubeParser library. My question is, when I load a new view controller I still can hear the sound of the played video file. I tried to load the next view two…
AnujAroshA
  • 4,623
  • 8
  • 56
  • 99