Karthikeya Boyini has Published 2383 Articles

Disable Scroll View Programmatically in iOS?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

975 Views

Scroll View is one of the most difficult and complicated topic an iOS Developer come across. Here we will be seeing how to disable Scroll View Programmatically.For disabling the same we need to make the “isScrollEnabled” property of our scroll view to false.Copy the below code in your file.import UIKit ... Read More

How to get the Navigation Bar height in iOS?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

3K+ Views

A navigation bar appears at the top of an app screen. To read more about ithttps://developer.apple.com/designhttps://developer.apple.com/documentationGetting height of Navigation bar becomes important if you’ve multiple view controllers having different UI and requirement. It becomes hectic if you’re not aware how to get the height of the same or modify as ... Read More

How to answer incoming call programmatically in iOS?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

345 Views

Apple iPhone SDK doesn’t allow this feature. If you really wish to achieve it you can use some private api such as CTCallAnswer(call);This will result in your app store rejection.

C++11 reverse range-based for-loop

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

522 Views

To get the reversed range-based for loop, we have used boost library. This boost library is vepy popular and it has some strong functionalities.Here we can use some array or containers, then by using boost::adaptors::reverse() we can use the range base for loop in reverse order.Example#include #include #include ... Read More

How to make dotted/dashed line in iOS?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

3K+ Views

Knowing how to make dotted or dashed line is very important. You might develop a page where you ask user to enter fields, there you can represent the same with dotted line. Dotted line can also be used to highlight certain things in an application.The most important use is in ... Read More

HTML DOM Input Month type Property

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

93 Views

The HTML DOM input month type property returns the value of the type attribute of input month field in an HTML document.SyntaxFollowing is the syntax −object.typeExampleLet us see an example of HTML DOM input month type property − Live Demo    html{       height:100%;    } ... Read More

How to generate a random number in C++?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

337 Views

Let us see how to generate random numbers using C++. Here we are generating a random number in range 0 to some value. (In this program the max value is 100).To perform this operation we are using the srand() function. This is in the C library. The function void srand(unsigned ... Read More

HTML DOM Input Number Object

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

115 Views

The HTML DOM input number Object represent the

HTML DOM Input Number stepUp() Method

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

77 Views

The DOM input number stepUp() method increments the value of input number field by a specified value.SyntaxFollowing is the syntax −object.stepUp(number)Here, if number parameter is omitted then it increments the value by 1.ExampleLet us see an example of HTML DOM input number stepUp() method − Live Demo HTML DOM ... Read More

What is the difference between size_t and int in C++?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:26

5K+ Views

Here we will see what are the differences between size_t and int in C++. If we consider the standard, both are integers of size 16 bits.On a typical 64-bit system, the size_t will be 64-bit, but unsigned int will be 32 bit. So we cannot use them interchangeably.One standard recommendation ... Read More

Advertisements