
Search In
Sometimes we need to hide or show TabBarController from the bottom of the screen then we can just use following functions to do so...
In AppDelegate or Singleton class
for .h class :-
- (void) showTabBar:(UITabBarController *) tabbarcontroller;
- (
With the following method stated below you can crop an UIImageView.
-(UIImage *)cropedImage:(UIView *)view{
UIGraphicsBeginImageContextWithOptions(view.frame.size, imageView.opaque, 4.0);
CGContextRef c = UIGraphicsGetCurrentContext();
Use the below code for cutting UIImage in high quality without blur (not screenshot)
tmp is image view
<p>UIGraphicsBeginImageContextWithOptions(tmp.frame.size,YES, 4.0);</p>
<p>CGContextRef c = UIGraphicsGetCurrentContext();<
Digital photographs are actually mosaics of millions of tiny squares called picture elements— or just pixels. Like the impressionists who painted wonderful scenes with small dabs of paint, your computer and printer can use these tiny pixels to displa
Hello Everyone,
I have to make cluster of a given data set. The size of the data set in form of matrix is 10000 x 3, elements are in the form of integers. For clustering I was using MATLAB Artificial Neural Network tool (nctool). While training t
Hello Everyone,
I have to do clustering on a data set, the size of my current data set is 10000 x 3 in form of tab separated value and the elements of data set are integers. For clustering was using MATLAB Artificial Neural Network t
Please follow some steps and attached file as well for adding a linker flag in Xcode.
Select the project file from the project navigator on the top left side of the window.
Select the target for where you want to add the linker flag.
Select the "
Hi,
If you owning a website you might have seen logo's and banners for it, but there's also a little icon on top on tabs showing your website Icon. That icon is called as Favicon.
this is a icon format you can generate this easily with easy steps by
Hi all,
Here are two method to center align a position of div.
div{
height: 200px;
width: 200px;
background: #ccc;
top:0;
bottom: 0;
left:0;
right: 0;
margin: auto;
position: absolute;
}
In this method you have
If you are looking for a function to Zoom in an UIImageView in a 3D tranform scale then you should use CATransform3DScale.
First of all declare a BOOL variable to check scale points. Here I am taking CGFloat _scalePoints and CATransform3D transfor
