Objective-c - Calling method in another class has no effect?
给我你的怀抱
给我你的怀抱 2017-05-02 09:25:22
0
1
678

This is a framework I downloaded online and made some modifications. Clicking the arrow will pop up the title selection page, and clicking again will hide and display the row of titles above

This is the method called when hiding,

  • (void)itemClick:(HASortButton *)item{

    HACursor * cur =[[HACursor alloc] init];
    [cur hiddenSortItemView];
    
    }
    
    这个是标题按钮点击触发的方法,我在按钮方法里调用了隐藏标题选择页的方法,可是方法调用了却没有效果,问一下是什么原因?
    
    
    
    补充一下,我现在能够在这边调用隐藏方法,但是该有的隐藏效果没出来
    
给我你的怀抱
给我你的怀抱

reply all(1)
Ty80

This is obvious. You created a new object in click to call the hidden method. They are not the same object and will definitely not be hidden.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template