英文:
How to get height of ios home navigation line in the bottom of device?
问题
How can I get the height of this system line? it overlaps bottom of the application.
我怎样才能获取这个系统线的高度?它重叠在应用程序的底部。
I want to get its height and set a padding to the bottom of the whole application.
我想获取它的高度,并在整个应用程序底部设置内边距。
英文:
How can I get the height of this system line? it overlaps bottom of the application.
I want to get its height and set a padding to the bottom of whole application
答案1
得分: 0
你可以使用这个:
MediaQuery.viewPaddingOf(context).bottom
英文:
you can use this:
MediaQuery.viewPaddingOf(context).bottom
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论