Skip to content

After the Intro, users arrive on the login page, where they are invited to enter their mobile phone number and country code — either manually or by selecting their country from a list. You can get a list of countries and codes on countrycode.org or simply exctract it from the source code of other Telegram apps.

License

Notifications You must be signed in to change notification settings

psvantares/telegram_login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Light and Dark theme

Usage

Changing the theme AppDelegate.swift:

  1. Light
  2. Dark
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        
        ThemeManager.setTheme(theme: .Dark)
    
        let theme = ThemeManager.currentTheme()
        ThemeManager.applyTheme(theme: theme)
        
        let mainController = MainTabBarController()
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.rootViewController = mainController
        window?.makeKeyAndVisible()
        window?.backgroundColor = ThemeManager.currentTheme().mainBackgroundColor
        
        presentController(above: mainController)

        return true
    }

Compatibility

Telegram Login is written in Swift 4 and requires iOS 10.0 or later.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details

About

After the Intro, users arrive on the login page, where they are invited to enter their mobile phone number and country code — either manually or by selecting their country from a list. You can get a list of countries and codes on countrycode.org or simply exctract it from the source code of other Telegram apps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages