본문 바로가기

iPhone dev./UIView, UITableView

UITapGestureRecognizer를 view에 적용했을 때 view의 button들이 먹통되는 현상 Stackoverflow.com 참조 UIButton inside a view that has a UITapGestureRecognizerup vote40down votefavorite24share [g+]share [fb]share [tw]I have view with a UITapGestureRecognizer. So when I tap on the view an other view appears above this view. This new view has three buttons. When I now press on one of these buttons I don't get the buttons action, I only get the tap gesture action. So I'm not abl.. 더보기
TableViewCell Default Font Default font size of UITableViewCell up vote7down votefavorite 1 share [g+]share [fb]share [tw] Anybody knows the default font size of UITableViewCell? iphone objective-c uitableviewcell link|improve this question edited Feb 7 '11 at 23:38 gearsdigital 2,198517 asked Feb 7 '11 at 23:10 fatih 193111 53% accept rate Why is this being downvoted? Sure, there's "RTFM", but it is a legitimate question.. 더보기
UITableViewController를 UIViewController로 바꿀 때 참고 다음의 링크에서 참조함http://www.spriing.co.uk/blog/2011/uitableviewcontroller-is-a-waste-of-space/ UITableViewController is a waste of spaceposted by Mark Corbyn | 26/03/2011 | Mobile Apps | 1 comment The UITableViewController generated by Xcode is far too restrictive, here’s why… In every app we’ve developed that has required a UITableView, the data has come from a remote source. Of course, this means w.. 더보기
UIView를 UIImage로 캡쳐하기 예제) #import - (UIImage*)captureView:(UIView *)view { CGRect rect = [[UIScreen mainScreen] bounds]; UIGraphicsBeginImageContext(rect.size); CGContextRef context = UIGraphicsGetCurrentContext(); [view.layer renderInContext:context]; UIImage *img = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); return img; } - (void)saveScreenshotToPhotosAlbum:(UIView *)view { UIImageWrit.. 더보기