- Dec 16 Tue 2014 10:19
-
康博compro的產品 坑人錢嗎?
- Oct 05 Wed 2016 10:53
-
[Xcode+object-c] libz.dylib libsqlite3.dylib not found within Xcode 8
參考資料:
https://stackoverflow.com/questions/32656107/libz-dylib-libsqlite3-dylib-not-within-xcode-7-parse-not-saving-data
https://cnbin.github.io/blog/2015/09/22/swift-2-slash-ios-9-libz-dot-dylib-not-found/
https://stackoverflow.com/questions/32656107/libz-dylib-libsqlite3-dylib-not-within-xcode-7-parse-not-saving-data
https://cnbin.github.io/blog/2015/09/22/swift-2-slash-ios-9-libz-dot-dylib-not-found/
- Oct 05 Wed 2016 10:07
-
[xcode+object-c] NSCalendarsUsageDescription警告
好不容易解完Bug要上傳
卻收來Apple官方來信:
The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data.
怎麼從Xcode7 -> Xcode8,這麼麻煩啊!!
這問題似乎跟Google Admob有關,因為會存取User Calendar,要跟使用者做確認通知動作才可以。
所以在your TARGETS Project -> Info -> 加入NSCalendarsUsageDescription -> 值就填你想通知使用者的訊息,例如"Some ad content may access calendar"
參考資料:https://forums.developer.apple.com/thread/62229
卻收來Apple官方來信:
The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data.
怎麼從Xcode7 -> Xcode8,這麼麻煩啊!!
這問題似乎跟Google Admob有關,因為會存取User Calendar,要跟使用者做確認通知動作才可以。
所以在your TARGETS Project -> Info -> 加入NSCalendarsUsageDescription -> 值就填你想通知使用者的訊息,例如"Some ad content may access calendar"
參考資料:https://forums.developer.apple.com/thread/62229
- Oct 01 Sat 2016 16:06
-
[xcode+object-c] 更新xcode8後若要選擇模擬器的iOS版本
https://stackoverflow.com/questions/30837272/using-the-device-simulator-for-ios-8-with-xcode-7
Open
Xcode -> Preferences -> Components -> Select
可選擇下載你要模擬的iOS版本
Open
Xcode -> Preferences -> Components -> Select
可選擇下載你要模擬的iOS版本
- Jun 17 Fri 2016 10:56
-
[iOS app] 推薦 Route Planner Sport 運動路線規劃

Route Planner Sport 運動路線規劃 (台灣iTune下載 Download)
Route Planner Sport 運動路線規劃 - 只要在地圖上點擊就可輕鬆規劃您的運動路線、顯示坡度。簡單操作:點擊螢幕新增地點(目的地)、按壓標誌點可拖曳至任何地方重新規劃路線、顯示路線的總長度、總爬升高度及坡度圖,非常適合運動者事前規劃路線,了解每次運動的強度。
本程式提供:
Google Map地圖顯示
Google Map搜尋功能
顯示所經路線的坡度圖
顯示所經路線的總距離、預估的花費時間和總爬升高度
卡路里消耗計算機
- May 09 Mon 2016 10:23
-
解決libCorePlot-CocoaTouch.a not found的問題
解決libCorePlot-CocoaTouch.a not found的問題
1. 下載CorePlot_1.6.zip
2. 把CorePlotHeaders folder和libCorePlot-CocoaTouch.a加入專案裡
3. 然後Build Settings > Linking > Other Linker Flags加入”-ObjC”
4. 再確認General > Linked Frameworks and Libraries裡有QuartzCore.framework和libCorePlot-CocoaTouch.a
1. 下載CorePlot_1.6.zip
2. 把CorePlotHeaders folder和libCorePlot-CocoaTouch.a加入專案裡
3. 然後Build Settings > Linking > Other Linker Flags加入”-ObjC”
4. 再確認General > Linked Frameworks and Libraries裡有QuartzCore.framework和libCorePlot-CocoaTouch.a
- Feb 18 Thu 2016 17:26
-
感覺我交了一位日本筆友
2016.02.17
在晴空塔,遇見三位好心的日本歐吉桑,
幫我們拍下值得紀念的美照。
互相留下臉書交流。
以下是來往對話
2016.02.18
小川清 Thanks to a wondertul encountcr lt was fun Nice couple
ジョジョ あなたに会えて本当にうれしい. あなたの美しい写真をありがとう.(*^o^*)
小川清 お疲れさまです〜お台場で楽しんでいますね〜〜
ジョジョ 台場に1日で遊びはとても楽しいです
Jeremy 富士テレビのビューと1:1ガンダムは素晴らしいです~
小川清 昨日の出会い楽しかったです
ジョジョ
昨日の出会い私は満足しています。
小川さんは面白い人です。
あなたの撮った素晴らしい写真に、感動しました。
ジョジョ
こんばんは。
私は電子メールでのCanonカメラのコピーを取得できますか?
私は記念として印刷写真をたい
本当にありがとうございました
2016.02.19
ジョジョ
こんにちは
私は記念の写真をプリントしたいのて
写真が小さいので、良く見えません
在晴空塔,遇見三位好心的日本歐吉桑,
幫我們拍下值得紀念的美照。
互相留下臉書交流。
以下是來往對話
2016.02.18
小川清 Thanks to a wondertul encountcr lt was fun Nice couple
ジョジョ あなたに会えて本当にうれしい. あなたの美しい写真をありがとう.(*^o^*)
小川清 お疲れさまです〜お台場で楽しんでいますね〜〜
ジョジョ 台場に1日で遊びはとても楽しいです
Jeremy 富士テレビのビューと1:1ガンダムは素晴らしいです~
小川清 昨日の出会い楽しかったです
ジョジョ
昨日の出会い私は満足しています。
小川さんは面白い人です。
あなたの撮った素晴らしい写真に、感動しました。
ジョジョ
こんばんは。
私は電子メールでのCanonカメラのコピーを取得できますか?
私は記念として印刷写真をたい
本当にありがとうございました
2016.02.19
ジョジョ
こんにちは
私は記念の写真をプリントしたいのて
写真が小さいので、良く見えません
- Feb 18 Thu 2016 14:43
-
2016.02.15 遇見逆富士
當心情不美麗,容易忽略周圍的美景,真的可惜。
那天,很幸運的天氣晴朗。不過風大,水波不止。
從6:30站崗到7:40,逆富士愈來愈清楚。
看著路人們皆興奮拿著相機拍下美景,
而我卻怎麼拍也拍不好看,
我想我的心情不美麗,即使是難得一見的逆富士也變得灰暗吧...
以後...應該沒機會彌補了...
第一次的情人節落淚,獻給富士山。
那天,很幸運的天氣晴朗。不過風大,水波不止。
從6:30站崗到7:40,逆富士愈來愈清楚。
看著路人們皆興奮拿著相機拍下美景,
而我卻怎麼拍也拍不好看,
我想我的心情不美麗,即使是難得一見的逆富士也變得灰暗吧...
以後...應該沒機會彌補了...
第一次的情人節落淚,獻給富士山。
- Jan 18 Mon 2016 16:27
-
[Android App] Custom List View

參考:https://huli.logdown.com/posts/280137-android-custo...
先在activity_main.xml裡新增一個ListView (@+id/listView),如下圖:
把ListView每一列看成一個View,
我的View需要6個TextView,放幣別、匯率等資料,例如:
- Jan 08 Fri 2016 15:28
-
[xcode+object-c] 通知APP最新版本更新
-(void)checkVersion
{
NSString *myAppCurrentVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
//NSString *myAppCurrentBuild = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString*)kCFBundleVersionKey];
// Asynchronously query iTunes AppStore for publically available version
NSString *storeString = [NSString stringWithFormat:@"https://itunes.apple.com/lookup?id=%d", APP_ID];
NSURL *storeURL = [NSURL URLWithString:storeString];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:storeURL];
[request setHTTPMethod:@"GET"];
NSOperationQueue *queue = [[NSOperationQueue alloc] init];
[NSURLConnection sendAsynchronousRequest:request queue:queue completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) {
if ( [data length] > 0 && !error ) { // Success
NSDictionary *appData = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:nil];
dispatch_async(dispatch_get_main_queue(), ^{
// All versions that have been uploaded to the AppStore
NSArray *versionsInAppStore = [[appData valueForKey:@"results"] valueForKey:@"version"];
if ( ![versionsInAppStore count] ) { // No versions of app in AppStore
return;
} else {
//[[NSNotificationCenter defaultCenter]postNotificationName:@"checkCurrentVersion" object:currentAppStoreVersion];
NSString *currentAppStoreVersion = [versionsInAppStore objectAtIndex:0];
NSLog(@"currentAppStoreVersion = %@", currentAppStoreVersion);
if ([myAppCurrentVersion compare:currentAppStoreVersion options:NSNumericSearch] == NSOrderedAscending) {
// Upgrade notification.
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"RPS Upgrade Notification"
message:[NSString stringWithFormat:@"新版本 %@ 可用,請更新版本。", currentAppStoreVersion]
delegate:self
cancelButtonTitle:@"取消"
otherButtonTitles:@"更新", nil];
[alertView show];
} else {
// Current installed version is the newest public version or newer
//[[NSNotificationCenter defaultCenter]postNotificationName:@"checkCurrentVersion" object:@""];
}
}
});
}
}];
{
NSString *myAppCurrentVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
//NSString *myAppCurrentBuild = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString*)kCFBundleVersionKey];
// Asynchronously query iTunes AppStore for publically available version
NSString *storeString = [NSString stringWithFormat:@"https://itunes.apple.com/lookup?id=%d", APP_ID];
NSURL *storeURL = [NSURL URLWithString:storeString];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:storeURL];
[request setHTTPMethod:@"GET"];
NSOperationQueue *queue = [[NSOperationQueue alloc] init];
[NSURLConnection sendAsynchronousRequest:request queue:queue completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) {
if ( [data length] > 0 && !error ) { // Success
NSDictionary *appData = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:nil];
dispatch_async(dispatch_get_main_queue(), ^{
// All versions that have been uploaded to the AppStore
NSArray *versionsInAppStore = [[appData valueForKey:@"results"] valueForKey:@"version"];
if ( ![versionsInAppStore count] ) { // No versions of app in AppStore
return;
} else {
//[[NSNotificationCenter defaultCenter]postNotificationName:@"checkCurrentVersion" object:currentAppStoreVersion];
NSString *currentAppStoreVersion = [versionsInAppStore objectAtIndex:0];
NSLog(@"currentAppStoreVersion = %@", currentAppStoreVersion);
if ([myAppCurrentVersion compare:currentAppStoreVersion options:NSNumericSearch] == NSOrderedAscending) {
// Upgrade notification.
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"RPS Upgrade Notification"
message:[NSString stringWithFormat:@"新版本 %@ 可用,請更新版本。", currentAppStoreVersion]
delegate:self
cancelButtonTitle:@"取消"
otherButtonTitles:@"更新", nil];
[alertView show];
} else {
// Current installed version is the newest public version or newer
//[[NSNotificationCenter defaultCenter]postNotificationName:@"checkCurrentVersion" object:@""];
}
}
});
}
}];
- Jan 04 Mon 2016 15:13
-
玻璃心
我不能接受
不能接受說一套做一套、也不能接受指責我的同時自己也犯同樣錯誤。
有種,就先修好自己的鬍子再來刮別人的。
不能接受罵我笨,你可以給我建議,但有需要罵我嗎?
我沒有鋼鐵心,只有玻璃心,還真是對不起吼。
不能接受說一套做一套、也不能接受指責我的同時自己也犯同樣錯誤。
有種,就先修好自己的鬍子再來刮別人的。
不能接受罵我笨,你可以給我建議,但有需要罵我嗎?
我沒有鋼鐵心,只有玻璃心,還真是對不起吼。
