/ Published in: Objective C
                    
                                        
Note that variables that you use within the run function must be marked as 'final'
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
new Handler().postDelayed(new Runnable() {
public void run() {
myVar.doSomething();
}
}, 2000);
Comments
 Subscribe to comments
                    Subscribe to comments
                
                