开发者

Making toolbar hidden

I have class A which has a toolbar (created programatically) with property(nonatomic,retain). In another class B I want to make the toolbar of class A hidden. How can I do that? I am using开发者_如何学JAVA

ClassA *aobj=[[classA alloc] init];
[aobj.toolbar sethidden:yes];

but it isn't working.


If this is from a view controller then you should probably do something like this:

[self.navigationController setToolbarHidden: YES animated: YES];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜