TGTGInsighttelegram intelligenceLIVE / telegram public index
← OnePlus Guide

TGINSIGHT SIMILAR POSTS

Trouver du contenu similaire

Chaîne source @OnePlusGuide · Post #2525 · 24 mai

~ COME ABILITARE I 960 FPS E LA MACRO MODE SU ONEPLUS 7 PRO (OOS CAMERA + ROOT) ~ #OP#OOS#OP7PRO Dopo l'arrivo di queste modalità su OnePlus 7T, è possibile abilitarle anche sul OnePlus 7 Pro. Questa procedura richiede i permessi di root e la camera stock di OxygenOS. É richiesta una versione della Camera pari o superiore alla 3.10.17 (ve la linko) ed è consigliata l'installazione delle build Open Beta di OOS. • Assicurarsi di avere la corretta versione della Camera • Scaricare Preferences Manger (download nei bottoni) • Configurarla e abilitarla ai permessi di root • Entrare nella sezione dell'app Fotocamera • Cercare il file CameraInfo0.xml • Aggiungere una StringSet (con il tasto + in alto) che abbia come key Video960FpsSizes e come valore 1280x720 • Ripetere la stessa procedura nel file CameraInfo5.xml • Aprire il file CameraInfo_3.xml e cercare la variabile IsUWMacroSupported e cambiare il valore da false a true Fatto! Pierre

Résultats

1 post similaire trouvé

Recherche : #elseif

当前筛选 #elseif清除筛选
мобилки at home

@apphomie · Post #100 · 13/03/2018 09:00

Пока сообщество (точнее, хэйтеры) занято обсуждением метода toggle для Bool, в Swift 4.1 появились две директивы: canImport и targetEnvironment, предложенные Эрикой Садун. Попробовать их можно уже сейчас в Xcode 9.3 beta 4. Первая будет полезна для кроссплатформенных решений и позволяет определить, можно ли импортировать тот или иной модуль. #if canImport(UIKit) // UIKit-based code #elseif canImport(Cocoa) // OSX code #elseif // Workaround/text, whatever #endif Вторая директива с единственно возможным аргументом simulator позволяет выполнить условную компиляцию для симулятора или реального девайса. Теперь не нужно перечислять все любимые нам архитектуры и ОС (arch(i386) || arch(x86_64)) && (!os(macOS)), а достаточно будет этого: // Test for a simulator destination #if targetEnvironment(simulator) print("Simulator") #else print("Device") #endif http://ericasadun.com/2018/03/05/new-to-swift-in-xcode-9-3-beta-4-se-0075-and-se-0190-allow-better-configuration-testing/