iOS AMSlideMenu接收器(< MainVC:0x8f92a90>)没有标识符'rightMenu''的segue [英] iOS AMSlideMenu Receiver (<MainVC: 0x8f92a90>) has no segue with identifier 'rightMenu''

查看:129
本文介绍了iOS AMSlideMenu接收器(< MainVC:0x8f92a90>)没有标识符'rightMenu''的segue的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用库AMSlideMenu来创建导航抽屉。我看到YT教程用它制作我自己的导航抽屉。

I wanted to use the library AMSlideMenu to have a navigation drawer. I saw the YT Tutorial to make my own navigation drawer with it.

问题是,我只想使用左侧菜单,所以我有这个错误,因为它没有找到合适的菜单...

The problem, it's, I wanted to use ONLY the left menu, and so i've this error, because it doesn't found the rightMenu...

我该如何解决?

thx,

推荐答案

我通过仔细检查我的Segue类是否设置正确来解决这个问题。单击表视图和segue视图之间的segue链接,确保已将类设置为AMSlideMenuContentSegue和正确的标识符('firstSegue','secondSegue'):

I fixed this by double checking that my Segue Class was set correctly. Click the segue link between your table view and your segue views and ensure you have set the classes to 'AMSlideMenuContentSegue' and the correct identifiers ('firstSegue', 'secondSegue'):

此链接之前,MainVC(或等效)视图segue到菜单链接的表格视图,应将其类设置为'AMSlideMenuLeftMenuSegue',并将其标识符设置为'leftMenu;

Prior to this link, the MainVC (or equivalent) view segue to the table view of links for the menu should have it's class set to 'AMSlideMenuLeftMenuSegue' and it's identifier set to 'leftMenu;

此外,如果以上所有内容都在您的代码中检出,则此已解决的问题可能包含您所需的解决方案: https://github.com/SocialObjects-Software/AMSlideMenu/issues/21

Additionally, if the above all checks out in your code, then this resolved issue might have the solution you're after: https://github.com/SocialObjects-Software/AMSlideMenu/issues/21

这篇关于iOS AMSlideMenu接收器(< MainVC:0x8f92a90>)没有标识符'rightMenu''的segue的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆