• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

noBug iOS white line across top

blockypixels

New member
Joined
Sep 12, 2017
Messages
31
there is one row of white pixels across the top of the screen on iPhones

How do I get rid of the row of white pixels ?

How do I expand the graphics area there is a fairly large blank area top and bottom that I want to use ?

I have spent a few hours looking and the modules and found the ‘native.ios’ file where the graphics are done but I cant find the correct place and how to modify it ? even though it seems short and only three routines for this’

I got cerberus working , as of iOS 11 most of the monkey X demos wont build so I have mored to cerberus’

I have an working App but the screen is cropped and that annoying white line of pixels accross the top shouldnt be there. I need the top and bottom bits of the screen for cerberus to be useful’

I have decided to stick with cerberus because of the open nature of the modules wins against competition for me.

Cerberus is working on iOS 11 but monkey X is no longer useful much !

Im keen to learn how to modify this iOS graphics module so I can test/improve it further , why is the white line there still ? And why is the screen not full screen ? Please help !
 
Last edited:
In native.ios.cpp found the following:

gxtkGraphics()

width=appDelegate->view->backingwidth;
height=appDelegate->view->backingHeight;

I dont know if the problem is in CLS not clearing the top row ? or one row of pixels is not rendered ? im not familiar with modules so im experimenting but not able to fix the white line yet.
 
After a few more hours experimenting In the meantime I have patched the App by modifying the module at ‘BeginRender’ I added to height in thiis routine height+100 that moved the graphics up and over the white line , but you cant rotate or top gets cut off

Im not able to get use of the whole screen yet ?
 
Just a quick shot. But have you added a launch image for all different resolutions? Otherwise DeviceWidth and DeviceHeight might return wrong values.
 
Thank you for help , I also just found it nyself its the launch image to small for iPhone 6

So I should be able to fix this , I have a great understanding now how the compiler works around the native.ios module for the future.

Everything is working well now (once I fix the Line)

Xcode 9 is much faster and I only need to have wifi for first signing of product unlike last xcode version so this has made build times much faster and simpler Cerberus is easier to build for iOS now, on my old Macbook i can build and run within about 5 seconds !
 
Last edited:
Awesome and welcome back. ;)
 
I decided to push on with Cerberus since you can (virtually) lift the bonnet and change the carburator unlike most compilers, thats what made me re-think this Cerberus compiler.

Im keen to closely examine the iOS modules and learn how to modify it.

Once I fix the ‘white line’ I will post details of the fix im seeing it with mojo and mojo2 on an iPhone 6 with iOS 11.

The frustration comes from spending to many hours manually setting up Monkey X but I see this has greatly been sorted

I have been using Cerberus for a few days now and I can go from Ted to iPhone in about 5 seconds thats fast , last xcode was much slower , so much better due to xcode now remembering the developer team and other settings without internet connected that had to be reset every build for last xcode version. I was really nervous how iOS 11 would effect things.
 
Last edited:
I have the launch image in the xproj folder , the notorious white line is gone

If nothing else I gained at least 15 hours more experince with Cerberus to fix the white line maybe this fix could become built into Cerberus to save newbies lke me from getting confused, I spent hours using a system called ‘hit and miss’ which mostly missed !

There are no warnings from xcode now, im able to make changes and retest on a real iPhone very quickly, the build speeds are way fast, I can go from Ted to iPhone in well under 10 seconds on my old Mac book with 4 Gb RAM.

The CPU load sits around 10 % , about 8 Mb RAM use, I think the .app file is 520K

I would really like to see more work on the iOS build , icon editor, window size, developer signing option, target ios etc integrated into Ted would be a good addition on a visual designer tab.
 
Back
Top Bottom