iPad launch images in Xcode 5 accept just retina or non retina but not both

I struggled with this also, but I’ve found this is solved when you have a non-retina image named image.png and its retina counterpart is named [email protected]. So to fix yours you’ll need to name the first “Default-Portrait-1024~ipad” and the second “Default-Portrait-1024@2x~ipad”. The part preceding the “@2x~ipad” needs to be the same for it to recognize … Read more

iPad: Iterate over every cell in a UITableView?

for (int section = 0; section < [tableView numberOfSections]; section++) { for (int row = 0; row < [tableView numberOfRowsInSection:section]; row++) { NSIndexPath* cellPath = [NSIndexPath indexPathForRow:row inSection:section]; UITableViewCell* cell = [tableView cellForRowAtIndexPath:cellPath]; //do stuff with ‘cell’ } }

How do you force an iPad home screen bookmarked web app to refresh?

Another workaround is to add ?v=1 to your Javascript and CSS links. For example: <link rel=”stylesheet” type=”text/css” media=”all” href=”https://stackoverflow.com/questions/8792255/./css/ipad.css?v=1″> <script src=”./js/ipad.js?v=1″></script> It seems one doesn’t have to update the number when your file has changed, as far as I can tell. Apparently, on an iPad 2 with the latest software update installed, it is enough … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)