
Search In
Hi all,
If you want to show dots if text does not fit UILabel frame. then just copy this code.
UILabel property "numberOfLines" is 1 by default. Try to set it 0 if you dont know the exact numberOfLines and use sizeToFit method of UILable.
yourLa
To check a function exist or not in PHP we use a built-in function function_exists(). This function check that the function exists or not.
Syntax:
function_exists(function_name);
It includes one parameter i.e., the name of the function which you
Hello friends,
To delete a cell at a particular indexpath you may use the following code:
-(void)removeItemAtIndexPath:(NSIndexPath *)indexPath{
[(name of table) beginUpdates];
// I am assuming that you're just using a plain NSMutableArray to
Hello Friends,
Short code is just a piece of code like ['name'] that execute a complete function in your post or page
Here we have a basic example of shotcode development. Please follow the below example:
1) Open function.php in your theme folder a
Basically we have two options for selecting the duration of the Toast.
First is SHORT duration, which is 2 seconds and another is LONG duration that is 3.5 seconds.
We cannot change the duration of the Toast directly.
To change the time of the Toas
It is easy to add multiple images in the background by using HTML and CSS code only. we can use one image which will repeat across the top i.e (repeat-x) and the another one will across the entire page or it is simple way to adjust every image posit
Splash Screen is the first screen which appear when we launch an application and disappear when the main screen get loaded. It appear for a few second to show that our app is fast and responsive .
In order to display your splash screen more than it
Below is the code to adjust ImageView taking full width.
It is mainly required when we need to show cover photos which take the full width of the screen.
The images that are in landscape looks ok, but we find a problem with the portrait picture.
S
Queue is a kind of Abstract data structure that holds items in same order. Queue follow FIFO mechanism for operations like insertion and deletion of items.
Note :
- One end is always used to insert data called enqueue.
- Other end is always used t
Below is the code that will show the full size image in a dialog box popup without defining layout xml file .
In the code below I have taken two imageview named profile_pic and pro, to get the OnTouchListener action of particular image I hav
