View Single Post
Mark FX

 
Mark FX's Avatar
 
Member Since: Aug 13, 2011
Location: West Sussex, UK
Posts: 143
Mark FX has a spectacular aura about

Mark FX is offline
Your method declarations should be like this.

Code:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    // Your code here
}
And this one should be.

Code:
- (IBAction)adbook:(id)sender
{
    // Your code here
}
In the code you posted the colons and first brace is missing.

Also when using protocols, make sure you implement all of the required methods, as
stated in the protocols documentation, and double check your spellings of any methods.

Regards Mark
QUOTE Thanks