Strange delay with Navigation Controller behaviour


Strange delay with Navigation Controller behaviour



I have the following set up in a navigation controller.

The root is a list of categories (banks, hotels etc) and each category has a child view below it containing a table view of items (Bank A, Bank B etc). When i select 'Banks' i see my banks (list coming from from web service), but then i go up one level to my root, and select 'Hotels', when the view loads (from web service), i still see my banks, for about 1 second, before the view is updated with the list of hotels.

How can i stop the previous category's list showing up when i choose a different category?

Thanks




what is the different between “view” and “window” on iPhone?

1:



UINavigationItem with prompt and activity indicator
Clear the array first before you load the view, try also getting views to reload.
Annimation in iphone inside for loop not working


Cache URL images iphone UITableview


85 out of 100 based on 75 user ratings 775 reviews