Month: November 2012

How to conceal UIWebView’s initial white loading view [#iosdev]

Thanks to this StackOverflow thread, I was able to conceal UIWebView’s intial white, “blank page” look while it was loading. iphone uiwebview inital white view – Stack Overflow One thing you can try is put a UIView with the color you want and position it above the UIWebView with the same width and height. Then …

How to conceal UIWebView’s initial white loading view [#iosdev] Read More »

Iterating through NSDictionary [#iosdev]

This was very helpful to me recently… Iterating through NSDictionary Iteration through NSDictionary could be achieved at least in two ways: using NSArray with [NSDictionary allKeys] or NSEnumerator. Method 1: NSArray *keyArray = [bigUglyDictionary allKeys]; int count = [keyArray count]; for (int i=0; i < count; i++) { NSDictionary *tmp = [bigUglyDictionary objectForKey:[ keyArray objectAtIndex:i]]; …

Iterating through NSDictionary [#iosdev] Read More »