Telegram iOS Translate Feature — How the hell did they do it? – Telegram 中文版

Telegram

Telegram iOS Translate Feature — How the hell did they do it?

Telegram-iOS/Translate.swift at master · TelegramMessenger/Telegram-iOS

You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or…

github.com

let textView = UITextView()textView.text = texttextView.isEditable = falseif let navigationController = context.sharedContext.mainWindow?.viewController as? NavigationController, let topController = navigationController.topViewController as? ViewController {  topController.view.addSubview(textView)  textView.selectAll(nil)  textView.perform(NSSelectorFromString(["_", "trans",   "late:"].joined(separator: "")), with: nil)  DispatchQueue.main.async {    textView.removeFromSuperview()  }}

Ten articles before and after

YGG SEA Sticker Contest. We have an exciting competition for… – Telegram 中文版

Digital Privacy: A Myth or Reality..? – Telegram 中文版

Как закрепить сообщение в Телеграм. Что нужно сделать? – Telegram 中文版

How to install Telegram on Ubuntu 20.04 – Telegram 中文版

TON history. Telegram’s blockchain project, the TON… – Telegram 中文版

How to create a telegram bot in GOLANG – Telegram 中文版

Smart Door Lock System using esp32-cam and Telegram chatbot – Telegram 中文版

Minipod do Telegram – Telegram 中文版

An overview of Telegram monetization efforts – Telegram 中文版

Translate text through Google Translate using Python – Telegram 中文版

About Me

Pretium lorem primis senectus habitasse lectus donec ultricies tortor adipiscing fusce morbi volutpat pellentesque consectetur risus curae malesuada dignissim lacus convallis massa mauris.