eLearningiOSwift
426 FOLLOWERS
Covers articles about how to Develop iOS application with Swift. eLearningiOSwift is an online educational blog site basically for iOS.
eLearningiOSwift
2y ago
In this blog, we are going to learn about how to change the Font Style of UILabel or UITextField & any Other Controllers using UIFontPickerViewController. For this tutorial, you will need Xcode 12.
Let's Start
Create a new Project. Make sure you have selected Storyboard as Interface. Select the Main.storyboard, and add a Button in your ViewController. or design your screen as per your need. Now let’s write some code for UIFontPickerViewController.
Code
Write this code for Present UIFontPickerViewController.
For Accessing Fonts we need to Implement UIPageViewController Delegate. For this ..read more
eLearningiOSwift
2y ago
In this blog, we are going to learn about how to change the BackgroundColor of UIView & any Other Controllers using UIColorPickerViewController. For this tutorial, you will need Xcode 12.
Let's Start
Create a new Project. Make sure you have selected Storyboard as Interface. Select the Main.storyboard, and add a Button in your ViewController. or design your screen as per your need. Now let’s write some code for UIColorPickerViewController.
Code (UIColorPickerViewController)
Open your ViewController.swift file, & Write Below code in Your viewDidLoad() method or write inside newly create ..read more
eLearningiOSwift
2y ago
In this blog, we are going to learn about how to change the Font Style of UILabel or UITextField & any Other Controllers using UIFontPickerViewController. For this tutorial, you will need Xcode 12.
Let's Start
Create a new Project. Make sure you have selected Storyboard as Interface. Select the Main.storyboard, and add a Button in your ViewController. or design your screen as per your need. Now let’s write some code for UIFontPickerViewController.
Code
Write this code for Present UIFontPickerViewController.
For Accessing Fonts we need to Implement UIPageViewController Delegate. For this ..read more
eLearningiOSwift
2y ago
In this blog, we are going to learn about how to change the BackgroundColor of UIView & any Other Controllers using UIColorPickerViewController. For this tutorial, you will need Xcode 12.
Let's Start
Create a new Project. Make sure you have selected Storyboard as Interface. Select the Main.storyboard, and add a Button in your ViewController. or design your screen as per your need. Now let’s write some code for UIColorPickerViewController.
Code (UIColorPickerViewController)
Open your ViewController.swift file, & Write Below code in Your viewDidLoad() method or write inside newly create ..read more
eLearningiOSwift
2y ago
Overview
PencilKit provides a drawing functionality for your iOS app that receives input from Pencil or users’ fingers and converts it to the pictures you display in iPadOS, iOS, or macOS. The environment comes with tools to create, erase, and select lines.
PKDrawing
The PKDrawing object represents the actual drawing on the canvas. You can get the frame of the drawing in the canvas
PKToolPicker
The PKToolPicker is a UI component that contains the tools for your drawing
PKCanvasView
PKCanvasView Represent Drawing Canvas. it is used to Draw your Idea on Canvas. PKCanvasView Provides Seve ..read more
eLearningiOSwift
2y ago
Introduction
Game Center is social gaming network. This enables users to track their high scores on the leaderboard, compare achievements, invite friends to play the game, and start multiplayer games through auto-matching. So if you have created an iOS game and want users to be able to post their scores in the Game Center leaderboard, then this is the right for you.
Set Up Game Center Leaderboard on iTunes Connect
You have to create an iOS app on iTunes Connect with your register Bundle Identifier. Now Click on your app and click Features and then Game Center.
click the + icon next to ..read more
eLearningiOSwift
2y ago
We are going to learn how to create CSV file in swift programmatically.
A Comma Separated Values (CSV) file is a text file that contains a list of data. These files are used for exchanging data between different applications. For
Let's Start Step by step.
Create Structures for defines a physically grouped list of variables under one name in a block of memory.
Now we have Structure for your CSV file so let's write some code for Creating CSV file.
Thanks for Visit my blog, if you have any type of doubt please do comment so I’ll try to help you clear your doubts.
The post How to crea ..read more
eLearningiOSwift
2y ago
Overview
Touch ID is an easy and secure way for users to authenticate user, Authentication with Touch ID automatically uses user-registered fingerprints when they set Touch ID in Device.
As the Touch ID is based on the Local Authentication framework it needs to be imported to the project. Go to the .swift file and add the following line.
import LocalAuthentication
The important thing is asking for Touch ID authentication, which is done using this code:
Thanks for Visit my blog, if you have any type of doubt please do comment so I’ll try to help you clear your doubts.
The post Touch I ..read more
eLearningiOSwift
2y ago
Overview
Localization is a process of building your applications to support multiple languages. Xcode has build-in support for localizations. But before you can localize your app, you have to internationalize your application.
Let’s see step by step
As you all know first we have to create a new Project & Configure all Data.
Once you successfully Create Project , now need to internationalize your application.
Now,Click on your Project Target -> Click on info -> Select Check box (Use Base internationalize)
Now, Click on Plus button for add more languages.
Now, Clic ..read more
eLearningiOSwift
2y ago
Overview
ReplayKit framework, users can record video from the screen, and audio from the app and microphone. They can then share their recordings with other users via emailand social media. You can create an app extension for a live broadcast of shared services to your content.
Creating the Project
Let’s do this! Time to open Xcode and create a new project. Choose the Single View Application template for this app.
Outlets & Code setup
Now it’s time to start coding! ViewController.swift file in the project import Replaykit framework.
Now we need to create an object for our screen recorder ..read more