viewdidappear Questions
9
I want to check the pasteboard and show an alert if it contains specific values when the view appears. I can place the code into viewDidLoad to ensure it's only invoked once, but the problem is tha...
Edgewise asked 29/1, 2015 at 4:33
6
Solved
Perviously when I wanted to make some actions when screen is opened I put them inside componentDidMount. For example I can fetch some data.
like this.
componentDidMount() {
this.updateData();
}
...
Libava asked 11/5, 2018 at 10:59
4
I usually use viewDidAppear method to do some UI stuff on the view after it finished appearing and I used this method in various situations were it was very useful, however, I need to do some UI ch...
Iamb asked 27/5, 2012 at 7:10
4
Solved
I have written a flutter plugin, that displays a camera preview and scans for barcodes. I have a Widget called ScanPage that displays the CameraPreview and navigates to a new Route when a barcode i...
Powell asked 3/5, 2018 at 12:33
2
Solved
I need to understand when UIView appears on the screen, so I need an analogue of the viewDidAppear method.
I found a UIView lifecycle:
willMoveToSuperview
invalidateIntrinsicContentSize
didMoveT...
Lobscouse asked 17/12, 2018 at 6:6
8
Solved
I have a bit of a problem with my iOS app in xcode. I have a UITableView that loads a few hundred cells. When I scroll down to a specific cell and drill down to detailedviewcontrollers and return a...
Virago asked 17/9, 2013 at 7:15
5
Solved
I am not getting what's wrong with my code. I am simply displaying an alert with "Ok" button and when user click on "Ok", then alert should go. But its not getting disappeared. Using Swift3 for pro...
Importation asked 6/8, 2017 at 9:53
1
Solved
import UIKit
import SwiftyDropbox
class NotesViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, NotesviewDelegate {
var userText:[String] = []
@IBOutlet weak var tabl...
Boelter asked 11/5, 2017 at 5:32
3
Solved
I was wondering if anyone knows why when you set the frame of a subview in viewDidLoad and viewWillAppear the changes do not take affect on the screen, but if you set it in viewDidAppear they do?
...
Fayum asked 26/10, 2012 at 0:16
1
Solved
I am implementing a Terms & Conditions view into my app and the user has to accept them to proceed, then when they do accept them, they no longer have to go through the Terms & Conditions v...
Caron asked 23/1, 2017 at 16:29
3
Solved
I have a mainViewController. I call [self pushModalViewController:someViewController] which makes someViewController the active view.
Now I want to call a function in mainViewController as someVi...
Fichtean asked 11/11, 2010 at 1:24
3
Solved
The top three answers can solve my questions. It is hard to pick which one is the best. So, I just pick the one who is the first to answer my question. Sorry for amateur and iOSEnthusiatic. Thank y...
Norbertonorbie asked 24/1, 2016 at 4:38
1
Solved
How to reload UIPageViewController in viewDidAppear?
There, I refresh information from CoreData and I want to updated values when the view appears.
I tried with function reloadInputViews(), but u...
Lawannalawbreaker asked 6/12, 2014 at 23:22
1
Solved
I am using Specta to create some tests but I don't seem to be able to get this basic one to pass. The app itself works fine but this test won't pass.
ViewController
- (void)viewDidAppear:(BOOL)an...
Bustos asked 28/10, 2014 at 12:36
4
Solved
I have a UITableViewController in my app, which is added to the view hierarchy directly. After the view appears, I want to scroll to a specific cell. My solution would be to call the code for scrol...
Morrissey asked 22/9, 2009 at 17:53
2
Solved
Are there any guidelines for using these methods in the right manner? In particular, I would like to know what type of code I could use inside them.
For example, if I have to call a method that re...
Style asked 12/9, 2011 at 10:16
3
Solved
I'm developping an app for iOS 4.2+.
I subclassed my UINavigationController to insert two UIImageView and make the navigation bar look custom.
Everything is working great but I have a little proble...
Contamination asked 15/2, 2012 at 20:5
2
Solved
I have a Scrollview, it's properties are set in viewDidAppear.
Now when I get to the Scrollview first time there isn't any problem. However I have buttons that are assigned to UINavigationControlle...
Marashio asked 2/8, 2013 at 2:25
3
Solved
When the user start the app I want it show the stockholm.xib
and It does here:
-(void)viewDidAppear:(BOOL)animated{
[super viewDidAppear:animated];
NSUserDefaults *startPage =[NSUserDefaults st...
Placid asked 14/2, 2010 at 2:53
5
Solved
I'm developing an app with an UINavigatorController. I am using the method viewDidAppear in the second pushed viewController to find information in an external server.
Well. While in iOS5 worked f...
Scuta asked 27/12, 2011 at 15:3
3
Solved
Does Android have an equivalent to Cocoa's viewDidLoad and viewDidAppear functions?
If not, then how would I go about performing an action when a View appears? My app is a tabbed application, in ...
Socrates asked 18/8, 2010 at 14:56
3
Solved
I'm trying to figure out from Apple's sketchy documentation which method is the best place to be initializing and adding my Views controls to the controller's view.
With winforms it's fairly strai...
Eme asked 17/2, 2010 at 12:11
3
Solved
In my app, I have about a dozen different view controllers, pushed onto or popped from the stack in different orders. When a view has appeared (I'm using viewDidAppear method) I need to determine w...
Implosive asked 21/12, 2011 at 14:30
1
Solved
I've got a really strange bug in my project. I've got a UIScrollView as my main, big view. Inside of it, I have a UIViewController (not UITableViewController) which has a UITableView instance varia...
Ironstone asked 6/5, 2011 at 15:22
2
Solved
I want to load some data when a button is pressed and show a "loading view" as a subview of my current view while it's loading.
So I want to start loading only after the subview did appear. If no...
Cracker asked 29/3, 2011 at 9:38
1 Next >
© 2022 - 2024 — McMap. All rights reserved.