Tag Archives: iOS

simple activity indicator iOS code

simple activity indicator iOS code

 

stop activity indicator iOS on back

stop activity indicator iOS on back If you have set an activity indicator in one screen on button click then, when you come back from that screen, activity indicator is still there spinning. This happens when you doing it using thread so that’s why it keeps spinning. A simple way to resolve this is to… Read More »

NSMutableArray shows null

NSMutableArray shows null It happens if you haven’t instantiated your NSMutableArray. So, follow the code below and stick it just above your viewDidLoad method :

 

How to show only one pickerview ?

How to show only one pickerview ? If you’re using multiple pickerviews in single view and using them with done button, then use the following logic to avoid other pickers to come over on button touch event for them and that is to use flag.