CommandMaster not displaying #1
Comments
Are you adding it to the parent view or the child's view? |
I was able to get it working by adding a second group, for some reason if I remove the second group it doesn't work. I've also observed the same behavior in a brand new project. |
Hi, When i added it to a child view and its working in Simulator perfectly. But , its not showing in Device. |
Check your layout settings in your storyboard, are you programming for an iPhone 5 and testing on a 4/4S? I usually use Reveal to help me with these kinds of issues. |
Hi, thank you for the quick response. I m not using storyboard and i m programming for 4s. Also , another important thing is i m using tabbar. |
Use Reveal (http://revealapp.com/) to see if CM is actually added to the view, and if it is, where it is located. |
I was testing with iPhone 4S and the issue was with frame size. I just changed the Origin while adding the bar to View. And now its working properly. Thank you for your support. |
@sibahota059 in which class you have changed the origin and where? because I have figured out that it is working for iPhone 5 screen size but not for 4s or 4. |
@obaidjawad Hi, I have changed the frame in AMCommandMaster.m class. Below is the code:
|
Hi,
I followed the sample project and tried to add the command master to my view, however it does not display.
I have a viewcontroller, which has another view controller as a child. I tried adding the commandMaster as the last item in viewDidLoad. It appears to be in the hierarchy, if I print it out, however it doesn't display on the screen.
In the app delegate I have the following code:
In the viewController viewDidLoad, I have the following:
[AMCommandMaster setDelegate:self];
[AMCommandMaster addToView:self.view andLoadGroup:@"TestGroup"];
any ideas?
The text was updated successfully, but these errors were encountered: