- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 208 Articles for IOS
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
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
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
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.
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
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
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
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
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