|
|
Member Since: Aug 13, 2011
Location: West Sussex, UK
Posts: 143
|

03-09-2012, 02:57 PM
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
|