You can convert your OpenGL image to a UIImage.
http://stackoverflow.com/questions/5062978/how-can-i-dump-opengl-renderbuffer-to-png-or-jpg-image
Read MoreYou can convert your OpenGL image to a UIImage.
http://stackoverflow.com/questions/5062978/how-can-i-dump-opengl-renderbuffer-to-png-or-jpg-image
Read MoreYou can capture the current content of a UIView to an Image.
- (void) snapUIView
{
UIGraphicsBeginImageContext(self.view.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *myImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageWriteToSavedPhotosAlbum(myImage, nil, nil, nil);
}
Read More
How can we make an UIWebView transparent? If you want to display something under UIWebView, you should set the background color of an UIWebView to transparent. You can do it with two lines of code.
self.webView.opaque = NO; self.webView.backgroundColor = [UIColor clearColor];
You should not use the following code because it not mentioned in Apple documents.
[webView setDrawsBackground:NO]Read More
Avoid the clobber: Nest your network activity indicator updates.
여러 객체에서 Network Activity Indicator를 사용하는 경우, 두 개의 객체에서 네트웍 관련 작업을 시작하고 indicator를 표시했을 때, 만일 하나의 객체에서 네트웍 작업이 끝났다고 indicator를 감추면, 다른 객체에서는 여전히 네트웍 작업이 진행되고 있지만 indicator는 표시되지 않게 됩니다.
위의 웹페이지는 그런 경우에 사용할 수 있는 간단한 코드를 제공합니다.
Read More