uiactionsheetdelegate

    0热度

    1回答

    在我的应用程序中,我应该有一个共同的UINavigationBar持有3 UIBarButton项目的行为。因此,而不是在每一个ViewControllers书面方式代码,我已经决定创建BaseViewController可以是子类,以我的应用程序ViewControllers, BaseViewController.h BaseViewController.m 后,实施这一UINavigatio

    0热度

    2回答

    我想创建一个函数,当从不同的viewcontrollers调用时创建一个actionsheet。 问题是,虽然uiaction表被创建,我似乎无法执行任何指定的点击操作。事实上委托永远不会被调用。 单击任何按钮时,操作表被解除。 我对功能码为: func shareAction(){ var sheet: UIActionSheet = UIActionSheet(); pri

    1热度

    2回答

    在我的iOS 8应用程序中,我使用UIActionSheet。我试图在willPresentActionSheet委托方法中更改按钮标题的颜色,但它不会将按钮识别为其子视图。 我构造UIActionSheet这样的: UIActionSheet *popup = [[UIActionSheet alloc] initWithTitle:@"Select an Option" delegate:se