Found 208 Articles for IOS

What are the Few Pitfalls of the newly launched Apple’s iOS 10?

Sharon Christine
Updated on 16-Jan-2020 11:08:09

69 Views

Every time there is an update from the so called posh brand “Apple”, people go nuts for its latest news. so what are those special features? If one is willing to pay such price for a Smartphone, then best quality comes by hand. But lately, Apple is not standing up to the expectations of its name.Apple is not having a very good time lately. In fact, every new update or addition to the new operating system makes it a little worse than it was earlier. This could be seen clearly by the mess created by Apple’s iOS 10, with a ... Read More

Top 5 Tools to prototype iOS and Android apps without coding

Sharon Christine
Updated on 14-Jul-2020 06:04:37

326 Views

Advancements in technology have rendered the world digital and drives mankind to experience new wonders of astronomical proportions. Internet has moved us from relative absurdity to a path filled with clarity. Two of the many promising wonders of modern digital technology are the endearing fields of website development and mobile app development.What is Prototyping?Prototyping allows you to create a prototype version of your website/app without actually coding anything. Such prototypes can be used to create a basic functional model of the application, get initial feedback, give demos, experiment with UI/UX, etc.Prototyping is undoubtedly one of the many important stages of ... Read More

Mega ios updated with new photosync and passcode lock features

Sharon Christine
Updated on 13-Jan-2020 10:11:51

190 Views

There are many cloud storage providers in the market, but there is only one provider who has aimed to provide cloud storage app with improved privacy and security options – MEGA. Kim Dotcom’s cloud storage service Mega version 1.1, the official iOS app, has just got its first update with two new features – PhotoSync and passcode lock.PhotoSyncIf user wish to store their images, videos and other data in the cloud there is now no shortage of providers to select from. The major apps Dropbox, Google Drive, Box or Microsoft’s Skydrive basically give much related services, but lesser-known alternatives are ... Read More

How to prevent the screen from sleeping in iOS?

Mohtashim M
Updated on 16-Dec-2019 12:28:43

273 Views

In this post we will be seeing how to prevent screen from sleeping in iOS.So, let’s get started.Copy the below line of code in viewDidLoad method in ViewController.Swiftoverride func viewDidLoad() {    super.viewDidLoad()    // Do any additional setup after loading the view, typically from a nib.    UIApplication.shared.isIdleTimerDisabled = true }Run the application, the application will never go in sleep mode.

How to create Tab Bar Layout in an iOS App?

Mohtashim M
Updated on 16-Dec-2019 12:27:33

218 Views

In this post we’re going to see how one can use tab bar layout in their application.As per apple’s documentation −A tab bar appears at the bottom of an app screen and provides the ability to quickly switch between different sections of an app. Tab bars are translucent, may have a background tint, maintain the same height in all screen orientations, and are hidden when a keyboard is displayed. A tab bar may contain any number of tabs, but the number of visible tabs varies based on the device size and orientation.You can read more about the same herehttps://developer.apple.com/design/human-interface-guidelines/ios/bars/tab-bars/So let’s ... Read More

How do I programmatically “restart” an iOS app?

Mohtashim M
Updated on 16-Dec-2019 12:24:41

1K+ Views

You cannot restart an iOS Application in any case, even if you’re able to do using some private api your application will be rejected by Apple and will not be considered for App store release.

How to create a file, write data into it and read data from it on iOS?

Mohtashim M
Updated on 16-Dec-2019 12:23:05

1K+ Views

Being a software developer we should be always aware of how to play with files, write to a file, read from the file and so on.In this post we are going to learn the same, we will be creating a file and writing the data to the file and later reading through the same file.So let’s get started, Step 1 − Create new Xcode Project → Single View Application → name it “ReadingWritingFile”Step 2 − Open ViewController.swift and add new function as show belowpublic func createAndWriteFile() { }Now we will create a file and will print the path of the ... Read More

How to send an attachment in email using Swift(ios)?

Mohtashim M
Updated on 23-Oct-2019 09:05:25

2K+ Views

Knowing how to send attachments in the email is very important since most of the application has sharing features. Hence having hands-on experience is important.In this post, we will be seeing how to send an attachment in the mail using Swift.So, let’s get started.For this, we will be using MFMailComposeViewController, which is a standard view controller, whose interface lets the user manage, edit, and send email messages.You can read more about it here https://developer.apple.com/documentation/messageui/mfmailcomposeviewcontrollerWe will also be using MFMailComposeViewControllerDelegate to handle results from MFMailComposeResult.You can read about it here https://developer.apple.com/documentation/messageui/mfmailcomposeviewcontrollerdelegateWe will be creating one sample application to understand, Step 1 ... Read More

How to call a method after a delay in Swift(iOS)?

Mohtashim M
Updated on 23-Oct-2019 08:40:00

2K+ Views

In this post, we will be seeing how you can delay a method call using Swift. Here we will be seeing how you can achieve the same in two ways, So let’s get started, We will be seeing both the example in Playground, Step 1 − Open Xcode → New Playground.In the first approach, we will be using asyncAfter(deadline: execute:) instance method, which Schedules a work item for execution at the specified time and returns immediately.You can read more about it here https://developer.apple.com/documentation/dispatch/dispatchqueue/2300020-asyncafterStep 2 − Copy the below code in Playground and run, func functionOne() {    let delayTime = ... Read More

How to rotate an image in imageview by an angle on iOS App using Swift?

Mohtashim M
Updated on 23-Oct-2019 08:36:31

3K+ Views

Images are everywhere almost in all application, you might have come across many applications like gaming applications where you see images getting rotated.So, In this post, we will be seeing how to rotate the image in an image view by an angle in an iOS application.So, Let’s get started, Step 1 − Open Xcode→SingleViewApplication→name it RotateImage.Step 2 − Open Main.storyboard, add UIImageView and add 2 buttons as shown below name them ROTATE BY 90 DEGREES AND ROTATE BY 45 DEGREES. Add some sample images to UIImage View.Step 3 − Create @IBAction for both buttons and name them as rotate45button and ... Read More

Advertisements