We are developing at Unity.
I have the iOS app display the status bar, but I don't want it to display "Back to the previous app".
void_HidesBackButton()
{
UINavigationController* navigationController= (UINavigationController*) UnityGetGLViewController();
navigationController.navigationItem.hidesBackButton=YES;
}
"I created a plug-in like this and called it, but ""Back to the previous app"" was displayed."
How can I prevent it from displaying?
That part is different from the Back button on the navigation bar, so you cannot erase it with that code.
Also, since no API is provided to manipulate the objects displayed in the status bar, it is not possible to customize the display in a legitimate manner even in regular iOS app development.
Therefore, there is no other way but to hide the status bar.
© 2024 OneMinuteCode. All rights reserved.