1. Trang chủ
  2. » Công Nghệ Thông Tin

Code standard iOS Lập trình di động

29 162 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 29
Dung lượng 264,77 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS Code standard iOS

Trang 1

dani.arnaout@live.com

Trang 4

UIImage "normal.png"forState:UIControlStateNormal

UIImage "pressed.png"forState:UIControlStateHighlighted];

Trang 5

NSString NSString stringWithFormat:@"%f",mySlider.value

if (mySwitch.on == YES) NSLog(@”Switch is ON”);

Trang 6

[myProgressView setProgress:1.0 animated:YES

Trang 13

NSString *currentURL= myWebView.request.URL.absoluteString;

Trang 14

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:

@"http://www.google.se"]];

Trang 20

To play an audio file:

Insert audio framework first

Add this to your h:

#import <AVFoundation/AVFoundation.h>

Add this to your m:

withExtension:@"wav"];

Trang 24

[self performSelector:@selector(myMethodName)

withObject:nil afterDelay:2.0f];

// here you can implement whatever you want to be animated:

Trang 25

[[NSUserDefaults standardUserDefaults setObject

Trang 29

SUBSTRING:

1 link between a view & another using MODAL way

2 Go to the right side: identifier: hello

3 In your m add the following line to the method that will

be responsible for navigating to the second view

[self performSegueWithIdentifier:@"hello" sender:self];

Ngày đăng: 20/11/2014, 22:40

TỪ KHÓA LIÊN QUAN

w