目前分類:iOS開發筆記 (12)
- Oct 05 Wed 2016 17:21
[iOS] 更新到Xcode 8後出現一堆 XX is missing from working copy
- Sep 25 Fri 2015 18:41
[iOS] Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure
今天用Xcode 7打包程式,在模擬器iOS 9遇到以下訊息:
Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
- Aug 07 Thu 2014 16:46
[iOS] GoogleMapsAPI利用定位座標查詢所屬地區
利用手機定位得到座標後,想要知道是位於台灣的哪個地區(ex. 台北市、台南市)
GMSGeocoder *test = [GMSGeocodergeocoder];
[test reverseGeocodeCoordinate:CLLocationCoordinate2DMake(25.058418,121.534354) completionHandler:^(GMSReverseGeocodeResponse *response, NSError *error) {
- May 30 Fri 2014 16:19
[轉] PHP物件導向基礎教學
- Oct 24 Thu 2013 18:31
[iOS7] 導航列不遮住view上的元件(頁面布局問題)
若單純只有View,加上這段可以使畫面在iOS7上正常顯示
if ([self respondsToSelector:@selector(setEdgesForExtendedLayout:)])
self.edgesForExtendedLayout = UIRectEdgeNone;
- Oct 23 Wed 2013 20:22
[iOS7] 改變狀態列文字顏色
1. 增加設置 info plist --> "View controller-based status bar appearance" 為 NO
2. 在AppDelegate.m 裡加上 [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
- Sep 04 Wed 2013 12:35
iOS取得畫面位置和尺寸
- Sep 04 Wed 2013 12:19
根據內容多寡調整UITableViewCell高度
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";
- Sep 04 Wed 2013 12:11
使用UIViewContentModeScaleAspectFill後將多餘區域切除
範例:
UIImage *image = [UIImage imageNamed:@"image.jpg"];
UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 180, 300, 150)];
- Dec 05 Mon 2011 14:37
[轉載] NSString 常用轉換&格式化
- Dec 01 Thu 2011 10:50
[轉載] Objective C 字串連接 & 型別轉換
來源:
程式開發與生活玩樂的隨手筆記
http://kkwinds.blogspot.com/2010/04/iphone_19.html