Posted on May 24, 2010, 5:59 pm, by ayn, under
Tech.
If you’re using UISplitViewController in your iPad/Universal apps, you probably implemented the UISplitViewControllerDelegate to add a UIBarButtonItem to the detail view controller’s toolbar to display a popover. The popover might have some extra space before the first row after you rotate the simulator or the iPad from landscape to portrait, took me a few hours [...]
Posted on May 11, 2010, 11:17 pm, by ayn, under
Tech.
It is pretty common for an iPhone/iPad app to make an API call to a server, get the JSON response data back, parse that data, and display it in a table view. The usual way to do this looks like this: This fires off the API call asynchronously, and then you implement some delegate methods [...]
Posted on May 6, 2010, 2:51 pm, by ayn, under
Tech.
If you’re using Apple’s reachability framework and compiling with OS4 beta SDK, you might get a crash like this: You can fix it by commenting out the [super init] line in + (Reachability*) reachabilityForLocalWiFi in Reachability.m: