Closed oohajadya closed 2 years ago
it not support dynamic change rotated prop
then how can i change my entire screen to landscape?
you can use a state to let the component rerender.
const [key, setKey] = useState(0);
return (
<>
{key === 1 <Signature/> : <Signature rotated/>}
</>
)
if you use rotated props, you need open landscape mode , for example, use react-native-orientation
i want to change the portrait mode to landscape mode , if im using rotated={true} there are no changes