ipad
UITableView / UITableViewCell challenge with transparent background on iPad with iOS7
After wasting multiple hours with interface builder, I’m thinking that there might be a bug there. So I started to look for a programatic answer. Apparently had I started here I could have saved a ton of time. By adding to the method: – (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath I was able to solve the … Read more
iOS6 – removed console log for IPad – how to use web inspector on windows?
If you don’t have Mac OSX you can use this script as console replacement: https://github.com/robotnic/waterbug It shows error message, it’s possible to log all kind of variables, you have to turn your iPhone or iPad 90° to the right to open the console.
iphone/ipad orientation handling
I do this with two simple methods in my view controller: – (void) willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration { [self adjustViewsForOrientation:toInterfaceOrientation]; } – (void) adjustViewsForOrientation:(UIInterfaceOrientation)orientation { if (orientation == UIInterfaceOrientationLandscapeLeft || orientation == UIInterfaceOrientationLandscapeRight) { titleImageView.center = CGPointMake(235.0f, 42.0f); subtitleImageView.center = CGPointMake(355.0f, 70.0f); … } else if (orientation == UIInterfaceOrientationPortrait || orientation == UIInterfaceOrientationPortraitUpsideDown) { titleImageView.center = CGPointMake(160.0f, … Read more