Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 18: iPad: TabGroup looks very different vs iOS 17. #14123

Open
1 task done
tyroneBaba opened this issue Sep 25, 2024 · 3 comments
Open
1 task done

iOS 18: iPad: TabGroup looks very different vs iOS 17. #14123

tyroneBaba opened this issue Sep 25, 2024 · 3 comments
Labels
bug ios needs triage This issue hasn't been reviewed by maintainers

Comments

@tyroneBaba
Copy link

I have searched and made sure there are no existing issues for the issue I am filing

  • I have searched the existing issues

Description

iOS 18 tabbed bar is displaying as a weird bar at the top. is fine on iOS 17.
Simulator Screenshot - iPad (10th generation) - 2024-09-25 at 11 48 28
Simulator Screenshot - iPad (10th generation) - 2024-09-25 at 11 48 29

Expected Behavior

It should be at the bottom like on the App store.

Actual behavior

its showing as a pill shaped menu at the top, almost like a Tab Bar.

Reproducible sample

index.js

function doClick(e)
{
alert($.label.text);
}
$.tabGroup.open();

index.xml

<TabGroup id='tabGroup'>
	<Tab title='Tab 1'>
		<Window class="container">
			<Label id="label" onClick="doClick">Hello, World 1</Label>
		</Window>
	</Tab>
	<Tab title='Tab 2'>
		<Window class="container">
			<Label id="label" onClick="doClick">Hello, World 2</Label>
		</Window>
	</Tab>
</TabGroup>

Steps to reproduce

Create a new project and add a TabGroup to xml. Load it up on iOS 17 and iOS 18 and observe.

Platform

iOS

SDK version you are using

12.5.0.GA

Alloy version you are using

No response

@tyroneBaba tyroneBaba added bug needs triage This issue hasn't been reviewed by maintainers labels Sep 25, 2024
@m1ga
Copy link
Contributor

m1ga commented Sep 25, 2024

In iPadOS 18 and later, the position of the tab bar moves from the bottom of the screen to float over your content at the top.

https://developer.apple.com/documentation/uikit/app_and_environment/elevating_your_ipad_app_with_a_tab_bar_and_sidebar

I was checking iPhone before, that's why I didn't see that 😄
Think that is Apples new way to display it now 🤷

@de1mat
Copy link
Sponsor Contributor

de1mat commented Sep 25, 2024

Not cool Apple. This thread provides more context.
https://forums.developer.apple.com/forums/thread/756652

@tyroneBaba tyroneBaba changed the title iOS: TabGroup 18 looks very different vs iOS 17. iOS: iPad: TabGroup 18 looks very different vs iOS 17. Sep 25, 2024
@tyroneBaba tyroneBaba changed the title iOS: iPad: TabGroup 18 looks very different vs iOS 17. iOS 18: iPad: TabGroup looks very different vs iOS 17. Sep 25, 2024
@tyroneBaba
Copy link
Author

Seems that this is intended, is there any way to have more control (the way it looks or how it works)?

@m1ga m1ga added the ios label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ios needs triage This issue hasn't been reviewed by maintainers
Projects
None yet
Development

No branches or pull requests

3 participants