Found 98 Articles for IPhone/iPad

Hey Siri! Give us a hint

Samual Sam
Updated on 28-Jan-2020 11:21:14

142 Views

September 9, 2015 is going to be an important date for all technology enthusiasts. That is the day of Apple’s annual event that will take place at the spacious Bill Graham Civic Auditorium in San Francisco. Apple usually has a tradition of surprising its enthusiasts and considering the hullabaloo about the event going by, it is expected that Apple is going to make some major announcements in the event.Hey Siri!The world is going crazy overthe innovative invitation technique Apple is following to attract its enthusiasts from world over. Just say “Hey Siri! Give us a hint, ” and the iPhone ... Read More

How Apple designed iPad Pro to act as a Computer

Samual Sam
Updated on 11-May-2022 09:50:28

78 Views

The new Apple iPad Pro 9.7 was released lately and we can’t wait to get more of it, as it has been in the news for all good reasons. The relationship of Apple with computing devices has been quite complicated, in general. So it was interesting when news spread out that Apple has designed its new iPad Pro in such a way that Apple’s customers will think of it as a computer.Generally if one asks what a computer is, we generally revert to that one-line definition, “Computer is an electronic device with the ability to receive and manipulate data, with ... Read More

WWDC 2017- What is Coming From Apple

karthikeya Boyini
Updated on 24-Jan-2020 05:27:57

83 Views

In the recently concluded Apple’s Worldwide Developer Conference (WWDC), the technology giant revealed its upcoming versions and products that can create a rave in the market once released. The prime focus was on the upgrades of its existing products with higher performance that can enhance ultimate user experience. It has updates for almost all its existing products, be it iPhone, Mac laptop, Watches, TVs to IPad Pro and also the brand new Siri-enabled Homepod.The WWDC event of Apple is a yearly event which lasts for a week. That is the platform where Apple announces its upcoming technology which many of ... Read More

Why a Cheaper iPhone won’t Help Users?

Samual Sam
Updated on 20-Apr-2022 10:46:48

69 Views

Apple Inc. is one of the most successful brands in the market. The company made its mark with its innovative ideas and uniqueness. Steve Jobs, the former CEO and co-founder of Apple Inc., created a massive empire by designing the masterpieces – iPhone, iPod, and MacBook. When it comes to the iPhone, the most appealing part of the phone is its looks.Smartphones like iPhones are always in the limelight for the simple reason that the hardware and software integration done in all the Apple products is simply incredible. The quality of camera, pixels density of the display, and the sound ... Read More

How to integrate a facebook login in swift for iOS App?

Fendadis John
Updated on 30-Jul-2019 22:30:25

336 Views

Social logins in applications have become a very common thing these days. Facebook login is one of them, in this article we’ll see how we can make use of facebook login, to access basic user information and login to the application.Implementing facebook login in an application is a series of multiple steps, out of which even a single step can not be skipped.The first step is to register as a developer on: https://developers.facebook.com/Once you sign up as a developer and complete the required steps to sign up, you will be taken to dashboard. Which at present looks like as shown ... Read More

How do you hide the onscreen keyboard in iOS App?

Rama Giri
Updated on 30-Jul-2019 22:30:25

308 Views

To hide a keyboard on screen we need to make use of some internal functions that are predefined in the iOS SDK. The keyboard appears on screen when we are typing in a text Field or textView. We need to make use of internal function according to the text field.For example if the current text field is tfOne, we can hide the text field using the code below:tfOne.resignFirstResponder()This code will hide the keyboard when ever called, we may call this on an action for a button or for gesture recognizer.This method is good for limited textFields, but we need to ... Read More

How to resize an UIImageView using Swift?

Rama Giri
Updated on 30-Jul-2019 22:30:25

2K+ Views

To resize an image in iOS using swift we’ll make use of frame.Let’s see this with help of an example.Create an empty project and add an empty Image view.Create its outlet.Add an image to your project and assign the image to image view.Initially when we run the application, it looks something like this.Now, let’s add code to resize the image.override func viewWillLayoutSubviews() {    let frame = CGRect(x: 10, y: 10, width: self.view.frame.width - 20, height: 300)    self.imgView.frame = frame }We will run this code in our viewWillLayoutSubviews method. This is how it looks on the device when we ... Read More

How do I load an image by URL on iOS device using Swift?

Fendadis John
Updated on 30-Jul-2019 22:30:25

561 Views

To load an image in iOS using swift we’ll make use of simple data Task session. The image needs to be loaded in background because it may be of any size and we don’t want it to stop our main view’s operations.Let’s see this with help of an example. Create an empty project and add an empty Image view.Create its outlet and then we’ll write the code to get image from an URL. This is how our application looks at the moment.Now, let’s add code to get image from an URL.func getData(from url: URL, completion: @escaping (Data?, URLResponse?, Error?) -> ... Read More

How to make an HTTP POST request on iOS App using Swift?

Rama Giri
Updated on 30-Jul-2019 22:30:25

845 Views

To make an http request in iOS we’ll make use of DataTask and sessions. We’ll create configuration, sessions, url, request, and dataTask objects. Let’s see the steps that we’ll go through.First of all we need to create a session object, which default configuration.let configuration = URLSessionConfiguration.default let session = URLSession(configuration: configuration)Then we need to create an URL Request of The type we need, it can be get, post, delete or put. In this example we are seeing ”POST” type.let url = URL(string: URLString) //let url = NSURL(string: urlString as String) var request : URLRequest = URLRequest(url: url!) request.httpMethod = "POST" ... Read More

How to check Location Manager is running or not in iOS App?

Fendadis John
Updated on 30-Jul-2019 22:30:25

302 Views

To check any services related to location in ios with swift we can use the CLLocationManager.In this example we’ll see how to check if the location manager is running or not. We’ll do this with help of an sample project. So, create a new project. First we need to create a locationManager object, so in your view controller.var locationManager = CLLocationManager()Now, we first of all we need to check if the location services are enabled on the device or not. To check this we’ll useCLLocationManager.locationServicesEnabled() function, which returns a Boolean value showing whether the location service on device is active ... Read More

1 2 3 4 5 ... 10 Next
Advertisements