{"id":684,"date":"2011-09-29T23:19:57","date_gmt":"2011-09-29T14:19:57","guid":{"rendered":"http:\/\/adreamer.godohosting.com\/?p=684"},"modified":"2011-10-15T02:29:58","modified_gmt":"2011-10-14T17:29:58","slug":"ios-%ec%8b%9c%eb%ae%ac%eb%a0%88%ec%9d%b4%ed%84%b0%ec%97%90%ec%84%9c-%ec%9c%84%ec%b9%98-%ec%9d%b4%ec%9a%a9","status":"publish","type":"post","link":"http:\/\/milkdrops.net\/index.php\/archives\/684","title":{"rendered":"iOS \uc2dc\ubbac\ub808\uc774\ud130\uc5d0\uc11c \uc704\uce58 \uc774\uc6a9"},"content":{"rendered":"<p>\uc548\ub4dc\ub85c\uc774\ub4dc \uc5d0\ubbac\ub808\uc774\ud130\ub294 \ub9d0\uadf8\ub300\ub85c arm\uce69\uc744 \uc5d0\ubbac\ub808\uc774\ud305\ud55c \uac00\uc0c1\uc7a5\uce58\ub77c \uadf8\uc9c0\uac19\uc740 \uc18d\ub3c4\ub85c \uc695\uc744 \ub9ce\uc774 \uba39\uc9c0\ub9cc(\uc798 \uc4f0\uc9c0\ub3c4 \uc54a\uc74c)<br \/>\n\uc544\uc774\ud3f0 \uc2dc\ubbac\ub808\uc774\ud130\ub294 \uc704\uce58\ub97c \uc2dc\ubbac\ub808\uc774\ud305 \ud574\uc904\uc218\uac00 \uc5c6\ub294 \ubb38\uc81c\uac00 \uc788\ub2e4.<br \/>\n(update : Xcode 4.2\uc758 \uc2dc\ubbac\ub808\uc774\ud130\ubd80\ud130\ub294 \uc704\uce58 \uc2dc\ubbac\ub808\uc774\ud305\uc744 \uc9c0\uc6d0\ud55c\ub2e4)<br \/>\n\uc774\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c \uc2dc\ubbac\ub808\uc774\ud130\uc77c \uacbd\uc6b0 \ucf54\ub4dc\uc0c1\uc5d0\uc11c \ud2b9\uc815 \uc704\uce58\ub97c \uc804\uc1a1\ud574\uc8fc\ub294 \ubc29\ubc95\uc774\ub2e4.<\/p>\n<pre>#if TARGET_IPHONE_SIMULATOR \r\n\r\n@interface CLLocationManager (Simulator)\r\n@end\r\n\r\n@implementation CLLocationManager (Simulator)\r\n\r\n-(void)startUpdatingLocation {\r\n    CLLocation *simulLoc = [[[CLLocation alloc] initWithLatitude:37.381 longitude:127.134] autorelease]; \/\/ \uacbd\ub3c4, \uc704\ub3c4\ub97c \ub123\uc5b4\uc8fc\uba74 \ub428\r\n    [self.delegate locationManager:self\r\n               didUpdateToLocation:simulLoc \r\n                      fromLocation:simulLoc];    \r\n}\r\n\r\n@end\r\n\r\n#endif \/\/ TARGET_IPHONE_SIMULATOR<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub4dc\ub85c\uc774\ub4dc \uc5d0\ubbac\ub808\uc774\ud130\ub294 \ub9d0\uadf8\ub300\ub85c arm\uce69\uc744 \uc5d0\ubbac\ub808\uc774\ud305\ud55c \uac00\uc0c1\uc7a5\uce58\ub77c \uadf8\uc9c0\uac19\uc740 \uc18d\ub3c4\ub85c \uc695\uc744 \ub9ce\uc774 \uba39\uc9c0\ub9cc(\uc798 \uc4f0\uc9c0\ub3c4 \uc54a\uc74c) \uc544\uc774\ud3f0 \uc2dc\ubbac\ub808\uc774\ud130\ub294 \uc704\uce58\ub97c \uc2dc\ubbac\ub808\uc774\ud305 \ud574\uc904\uc218\uac00 \uc5c6\ub294 \ubb38\uc81c\uac00 \uc788\ub2e4. (update : Xcode 4.2\uc758 \uc2dc\ubbac\ub808\uc774\ud130\ubd80\ud130\ub294 \uc704\uce58 \uc2dc\ubbac\ub808\uc774\ud305\uc744 \uc9c0\uc6d0\ud55c\ub2e4) \uc774\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c \uc2dc\ubbac\ub808\uc774\ud130\uc77c \uacbd\uc6b0 \ucf54\ub4dc\uc0c1\uc5d0\uc11c \ud2b9\uc815 \uc704\uce58\ub97c \uc804\uc1a1\ud574\uc8fc\ub294 \ubc29\ubc95\uc774\ub2e4. #if TARGET_IPHONE_SIMULATOR @interface CLLocationManager (Simulator) @end @implementation CLLocationManager (Simulator) -(void)startUpdatingLocation { CLLocation *simulLoc = [[[CLLocation alloc] &hellip; <a href=\"http:\/\/milkdrops.net\/index.php\/archives\/684\" class=\"more-link\"><span class=\"screen-reader-text\">iOS \uc2dc\ubbac\ub808\uc774\ud130\uc5d0\uc11c \uc704\uce58 \uc774\uc6a9<\/span> \ub354\ubcf4\uae30 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33,11],"tags":[273,98,96,15,97],"class_list":["post-684","post","type-post","status-publish","format-standard","hentry","category-ios","category-tips","tag-ios","tag-location","tag-96","tag-15","tag-97"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/posts\/684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/comments?post=684"}],"version-history":[{"count":6,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/posts\/684\/revisions"}],"predecessor-version":[{"id":769,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/posts\/684\/revisions\/769"}],"wp:attachment":[{"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/media?parent=684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/categories?post=684"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/tags?post=684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}