How to create images from ios toolbar image creator.

Asked By 0 points N/A Posted on -
qa-featured

Hi all experts,

I am using Apple iPad for the college fun and entertainment. I have some apps to edit the images, but not satisfied with them. Now I want to create some background images from ios toolbar image creator, but I am not able to use it. Can anyone educate me how to create images from ios toolbar image creator.
SHARE
Answered By 0 points N/A #164197

How to create images from ios toolbar image creator.

qa-featured

Hi,

 

There's a method to create an image on IOS toolbar.  The method as below.

 

 

“-(UIImage*) makeImage {

 

UIGraphicsBeginImageContext(self.view.bounds.size);

 

[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];

 

UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();

UIGraphicsEndImageContext();

 

return viewImage;

}                              “

 

 

Make a modified init strategy for your modal perspective, and additionally give your modalView an occasion variable that can hold an UIImage something like…

 

“-(id)initWithImage:(UIImage*)temp {
   myImage =temp;
}”
 
At that point in your modalView, maybe in the viewDidLoad technique, make an UIImageView and set the visualization to myImage
 
Thank you

 

Related Questions