본문 바로가기

프로그래밍/아이폰 프로그래밍

(37)
애플 리젝 사유 2. 기능성 2.1 (시스템을) 고장내는 앱은 승인하지 않는다. 2.2 버그가 발견되는 앱은 승인하지 않는다. 2.3 개발자가 명시한대로 작동하지 않는 앱은 승인하지 않는다. 2.4 문서 상의 설명과는 일치하지 않는 숨겨진 요소 혹은 불법적 요소를 포함한 앱은 승인하지 않는다. 2.5 공개되지 않은 API(어플리케이션 프로그래밍 인터페이스)를 사용한 앱은 승인하지 않는다. 2.6 할당된 공간 외의 곳에서 데이터를 읽거나 쓰는 앱은 승인하지 않는다. 2.7 어떤 방식이나 형태로든 코드를 다운받는 앱은 승인하지 않는다. 2.8 다른 실행 가능한 코드를 인스톨 혹은 실행시키는 앱은 승인하지 않는다. 2.9 “베타”, “데모”, “체험판” 혹은 “테스트” 버전인 앱들은 승인하지 않는다. 2.10 아이폰 앱은 별..
UIImageView 프레임 애니메이션 사용하기 이미지를 프레임으로 보여주고 싶을 경우에는 UIImageView의 animationImages 속성을 사용하면 됩니다. ex ) UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(40, 30, 200, 200)]; imgView.animationImages = [NSArray arrayWithObjects: [UIImage imageNamed:@"img_satelite01.png"], [UIImage imageNamed:@"img_satelite02.png"], [UIImage imageNamed:@"img_satelite03.png"], [UIImage imageNamed:@"img_satelite04.png"], nil]; [i..
UIImageView 를 특정 기준점으로 회전 시키기 이미지를 특정 기준점으로 회전 시키고 싶을 경우에는 layer 에 들어있는 anchorPoint 속성을 이용하면 됩니다. ex ) - (void)viewDidLoad { [super viewDidLoad]; image = [UIImage imageNamed:@"arrow_left.png"]; imageView = [[UIImageView alloc] initWithImage:image]; imageView.center = CGPointMake(100, 100); imageView.layer.anchorPoint = CGPointMake(0.5, 0.5); [self.view addSubview:imageView]; self.timer = [NSTimer scheduledTimerWithTimeInterv..
어플 폴더 위치 찾기 Finder에서 아래 디렉터리로 이동합니다. /Users//Librarary/Application Support/iPhone Simulator/3.0/Applications 날짜와 시간을 확인 후 해당 디렉터리로 이동합니다.
applicationDidEnterBackground 어플 실행중에 홈 버튼을 누르면 ios 3.x 에서는 - (void)applicationWillTerminate:(UIApplication *)application { } 함수가 호출 되었다. 그러나 4.x 버젼 부터는 - (void)applicationDidEnterBackground:(UIApplication *)application {} 함수가 호출 된다.
MKMapView 1. MapKit.framework 등록합니다. 2. #import #import @interface ImgGPSViewController : UIViewController { IBOutlet MKMapView *mapView; } @property (nonatomic, retain) MKMapView *mapView; @end 3. @synthesize mapView; // 위도, 경도 CLLocationCoordinate2D mapCenter; mapCenter.latitude = doubleValue; mapCenter.longitude = doubleValue; // 여기에 위도와 경로 값을 넣는다. // 지도의 기본 크기 MKCoordinateSpan mapSpan; mapSpan.latitud..
MKMapView에 MKAnnotation 사용하기 1. MapKit.framework 라이브러리를 추가한다. 2. #import #import @interface Annotation : NSObject { double dLatitude; double dLongitude; NSString *sTitle; NSString *sSubtitle; } @property (nonatomic, readonly) CLLocationCoordinate2D coordinate; - (id)initWithLatitude:(double)latitude longitude:(double)longitude title:(NSString*)title subtitle:(NSString*)subtitle; - (NSString *)title; - (NSString *)subtitle; ..
iphone-exif 라이브러리 파일 보호되어 있는 글입니다.