# XXXRoundMenuButton: subButtons problem

**URL:** <https://forums.kodeco.com/t/xxxroundmenubutton-subbuttons-problem/45472>\
**Category:** iOS\
**Created:** [August 3, 2018, 6:41pm UTC](https://forums.kodeco.com/t/xxxroundmenubutton-subbuttons-problem/45472 "2018-08-03T18:41:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rufy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/rufy/32/111867_2.png) [@rufy](https://forums.kodeco.com/u/rufy)\
**Post date:** [August 3, 2018, 6:41pm UTC](https://forums.kodeco.com/t/xxxroundmenubutton-subbuttons-problem/45472/1 "2018-08-03T18:41:09Z")

</div>

Hi everybody,

I’m using this framework

> **[GitHub - zsy78191/XXXRoundMenuButton: A simple circle style menu.](https://github.com/zsy78191/XXXRoundMenuButton)**
>
> A simple circle style menu. Contribute to zsy78191/XXXRoundMenuButton development by creating an account on GitHub.

and I’ve set 4 buttons. about this. It’s ok. and I’ve found the way to make this button floating on all app. If you like this is my question and my answer:[swift floating button on UITabBarController - Stack Overflow](https://stackoverflow.com/a/51553807/3489707)

the problem is this: one of these 4 button is a share button. so I want that button be disabled from start and enabled when the roundbutton is on the detailViewController. I thought to set an key of UserDefault setting the value to false in AppDelegate and setting the value to true in the detailviewController, but I don’t know to pass the boolean to the button.

Can you help me?

Thanks

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [February 6, 2019, 5:25am UTC](https://forums.kodeco.com/t/xxxroundmenubutton-subbuttons-problem/45472/3 "2019-02-06T05:25:46Z")

</div>


