iOS Getting a Screencapture of UIView Aasim Naseem, August 22, 2011March 12, 2024 Some times you have to capture a portion of you iPhone application programmatically; The quickest way is to pass the target view to following method and get its screenshot as an UIImage; [sourcecode language=”objc”] -(UIImage*)captureFullScreen:(UIView*) targetView{ UIGraphicsBeginImageContext(targetView.view.frame.size); [self.view.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *fullScreenshot = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageWriteToSavedPhotosAlbum(fullScreenshot, nil, nil, nil); return fullScreenshot;… Continue Reading
Islam - Religion of Peace Feham-ul-Quran :: Book Review; Aasim Naseem, August 22, 2011March 12, 2024 Among many other books that I had from the annual book fair at Punjab University this year, the title of this book really caught my attention; It claims to teach translation of the Quran with some common symbols and selective verses from different chapters; Aasim NaseemI’m an engineer by profession,… Continue Reading
Digital Diary Celebrations of 70K hits; Aasim Naseem, August 13, 2011March 28, 2024 Aasim NaseemI’m an engineer by profession, a blogger and a photojournalist by hobby. Seasonal writer at LAFZ Media UK. I write on different topics and things around us. Contact me at +971.56.126.8842 or Aasim.Naseem@outlook.com aasimonline.com Continue Reading