简体   繁体   English

WatchKit 页面控制 position

[英]WatchKit page control position

Is there a way to move the default page control that shows up on a page-based WatchKit app?有没有办法移动显示在基于页面的 WatchKit 应用程序上的默认页面控件? The interface is created in a storyboard, I didn't find a way to add the control separately, nor any way to access the default one.界面是在一个storyboard中创建的,我没有找到单独添加控件的方法,也没有找到默认的访问方法。

结果

故事板配置

There is no way of doing this thing.The default implementation is given in the documentation link: https://developer.apple.com/documentation/watchkit/wkinterfacecontroller/2143142-reloadrootcontrollers .没有办法做这件事。文档链接中给出了默认实现: https://developer.apple.com/documentation/watchkit/wkinterfacecontroller/2143142-reloadrootcontrollers Moving it anywhere other than the bottom will not be the right indicator that its a page based layout that Apple follows across its watch applications.将其移动到底部以外的任何位置都不能正确表明它是 Apple 在其手表应用程序中遵循的基于页面的布局。 Is there any specific functionality you want to achieve by moving the page indicators?您是否想通过移动页面指示器来实现任何特定功能?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM