There is a problem, I've had in the National Day of the above things get, of course, is in control of the hello world tutorial online to do, the National Day back after upgrade xcode, how to get all die. .
Seeking large cattle advice. .
Code
viewcontroller.h
se / /
/ / ViewController.h
/ / Test
/ /
/ / Created by xxx on 12-9-19.
/ / Copyright (c) 2012 年 xxx. All rights reserved.
/ /
# Import
@ Interface ViewController: UIViewController
@ Property (weak, nonatomic) IBOutlet UIWebView * lz_web;
@ Property (weak, nonatomic) IBOutlet UIStepper * lz_jia;
@ Property (weak, nonatomic) IBOutlet UISlider * lz_hdt;
@ Property (weak, nonatomic) IBOutlet UIImageView * lz_image;
@ Property (weak, nonatomic) IBOutlet UITextField * lz_textbox;
@ Property (weak, nonatomic) IBOutlet UILabel * lz_label;
@ Property (weak, nonatomic) IBOutlet UIButton * lz_button;
- (IBAction) helloworld: (id) sender;
- (IBAction) hd: (id) sender;
@ End
/ /
/ / ViewController.m
/ / Test
/ /
/ / Created by xxx on 12-9-19.
/ / Copyright (c) 2012 年 xxx. All rights reserved.
/ /
# Import "ViewController.h"
@ Interface ViewController ()
@ End
@ Implementation ViewController
@ Synthesize lz_web;
@ Synthesize lz_jia;
@ Synthesize lz_hdt;
@ Synthesize lz_image;
@ Synthesize lz_textbox;
@ Synthesize lz_label;
@ Synthesize lz_button;
- (Void) viewDidLoad
{
[Super viewDidLoad];
/ / Do any additional setup after loading the view, typically from a nib.
}
- (Void) viewDidUnload
{
[Self setLz_button: nil];
[Self setLz_label: nil];
[Self setLz_textbox: nil];
[Self setLz_image: nil];
[Self setLz_hdt: nil];
[Self setLz_jia: nil];
[Self setLz_web: nil];
[Super viewDidUnload];
/ / Release any retained subviews of the main view.
}
- (IBAction) helloworld: (id) sender
{
lz_web.userInteractionEnabled = true;
/ / Navigate to google
[Lz_web loadRequest: [[NSURLRequest alloc] initWithURL: [[NSURL alloc] initWithString: @ "http://www.google.com"]]];
lz_label.text = @ "ccc";
}
- (IBAction) hd: (id) sender
{
lz_image.alpha = lz_hdt.value;
}
- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation
{
return (interfaceOrientation! = UIInterfaceOrientationPortraitUpsideDown);
}
@ End
I do not know grammar, or what has changed, thank you.
Reply:
May pass, because your application is not localized.
It is said that some applications based on Phonegap useless approved, is the reason.
Reply:
Recommend that you use phonegap, can not pass on the audit, which has nothing to do web applications and is not
See in particular article PhoneGap Application Development Strategies: How Apple audit?
No comments:
Post a Comment