Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Włączenie lampy błyskowej urządzenia podczas sesji AR może poprawić widoczność.
Sprawdź, czy bieżąca konfiguracja aparatu obsługuje lampę błyskową.
Nie wszystkie konfiguracje kamery obsługują stosowanie lampy błyskowej.
Zanim włączysz lampę błyskową lub umożliwisz użytkownikom włączenie lampy, upewnij się, że jest ona dostępna w przypadku aktywnej konfiguracji aparatu:
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-05-24 UTC."],[[["Using the device's flash during an AR session can enhance visibility in low-light conditions."],["Before enabling the flash, verify if the active camera configuration supports it by checking the `hasTorch` property of the `AVCaptureDevice`."],["Enable the flash by setting the `torchMode` property of the `AVCaptureDevice` to `AVCaptureTorchModeOn`."],["Disable the flash by setting the `torchMode` property of the `AVCaptureDevice` to `AVCaptureTorchModeOff`."]]],["To utilize the device's flash in an AR session, first verify if the active camera configuration supports it using `device.hasTorch`. If supported, enable the flash by setting `device.torchMode` to `AVCaptureTorchModeOn` after locking the device for configuration. If the camera doesn't support flash, setting `AVCaptureTorchModeOn` will have no effect. To disable it set the `device.torchMode` to `AVCaptureTorchModeOff` and unlock the configuration.\n"]]