iOS – Click view to dismiss the keyboard
UITapGestureRecognizer *tap = initWithTarget:self.view action:@selector(endEditing:)]; tap.cancelsTouchesInView = FALSE; tap.delegate = self; ;
UITapGestureRecognizer *tap = initWithTarget:self.view action:@selector(endEditing:)]; tap.cancelsTouchesInView = FALSE; tap.delegate = self; ;
1.Generate keystore keytool -genkey -v -keystore -alias Release -keysize 2048 -validity 10000 -keyalg RSA -dname "CN=, OU=Mobile Development, O=, L=, ST=, C=" -keypass -storepass 2.List keys information in keystore keytool…
官網文件連結 https://firebase.google.com/docs/admob/android/quick-start 1.在Firebase建立新project https://firebase.google.com/docs/android/setup 1.1設定 此處的 app id 要和 Android Studio 裡的 package name 完全相同 否則會錯 例: 1.2下載 google-services.json 1.3修改 專案層級 的 build.gradle buildscript { dependencies { // Add this…
invalid app id 在 adhoc build 時出現 Invalid app id 的錯誤訊息 奇怪的是很久之前可以,現在卻不行 解決方法是 將原來「由Xcode代為產生的 adhoc provision profile」全部刪掉 自己重新設定「adhoc provision profile」即可 app id 與原來的相同
以前上架 iOS app 時 都要上傳各尺寸的螢幕截圖 3.5" 4" 4.7" 5.5." 四種大小 如果每個 5 張,就得要 5x4=20 張 今天上架時 發現只要上傳最大的解析度即可 5.5" (1242x2208) 其他較小的尺寸預設就會自動套用 (當然,如果要自己上傳各尺寸也是可以) 真是 iOS Developer 的一大福音...
由於此書的版權擁有者要求此 app 下架 否則提出侵權告訴 所以此 app 已經下架了
It took me one night to make it work, so I'd like to write it down for next time. Main Flow as follow diagram: Green fields means "what values you…
Facebook signin ios Follow the official document procedure https://developers.facebook.com/docs/facebook-login/ios 1.Download SDK and setup the environment https://developers.facebook.com/docs/ios/getting-started Create new Facebook app 2.Configure the XCode project parameters Info.plist For AppTransportSecurity parameters, you…
Google Sign-in for iOS 1.Download GoogleSignIn SDK https://developers.google.com/identity/sign-in/ios/sdk/ There are two ways to get the SDK, CocoaPod or direct download, Personally I preferred the download way. Follow the official document…
There was an internal API error XCode build app 至 iPhone 時出現此錯誤 解決方法: Target->Build Setting->Product Name Remove any "weird" characters and keep there only English characters.