Hi.
I made Xcode Project with renios.
I want to remove Status Bar so, I ticked "Hide status bar" in General, and added keys "View controller-based status bar appearance" to "No", "Statrus bar is initially hidden" to "YES"
But the status bar is still remain.
Is there anyone know the solution??
Thanks.
[SOLVED]iOS Hide Status Bar
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Regular
- Posts: 52
- Joined: Wed Dec 17, 2014 8:19 pm
- Contact:
[SOLVED]iOS Hide Status Bar
Last edited by Love&Peace on Wed Oct 12, 2016 3:03 am, edited 1 time in total.
Re: iOS Hide Status Bar
Set the app in full screen in xcode.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: iOS Hide Status Bar
Actually, do it in Ren'Py, with something like:
Code: Select all
default preferences.fullscreen = True
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 52
- Joined: Wed Dec 17, 2014 8:19 pm
- Contact:
Re: iOS Hide Status Bar
PyTom wrote:Actually, do it in Ren'Py, with something like:
Code: Select all
default preferences.fullscreen = True
Thank you PyTom. It worked.
I checked options.rpy and set config.default_fullscreen to True, and the status bar has gone.
Code: Select all
config.default_fullscreen = True
Re: [SOLVED]iOS Hide Status Bar
I tried to upper way. But didn't work.
And I put this code.
Utility.m
main.c
Is there anything else I can try?
Plz Help me
And I put this code.
Utility.m
Code: Select all
void HideStatusBar()
{
[[UIApplication sharedApplication] setStatusBarHidden:YES];
}
Code: Select all
static int start_python(char *argv0) {
...
HideStatusBar();
if (PyErr_Occurred() != NULL) {
PyErr_Print();
if (Py_FlushLine())
PyErr_Clear();
return 1;
}
return 0;
}
Plz Help me
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot]