原创 Xcode 新建iOS13以下項目(OC、Swift)

1.新建項目 2.解決ios13以下運行閃退問題 1)刪除SceneDelegate.swift 官方文檔: In iOS 13 and later, use UISceneDelegate objects to respond to

原创 ios 百度地圖SDK 設置標註點顯示優先級,並自定義彈出視圖

  - (BMKAnnotationView *)mapView:(BMKMapView *)mapView viewForAnnotation:(id<BMKAnnotation>)annotation { if ([anno

原创 iOS 百度地圖SDK 讓標註以及paopaoview置於最頂層

- (void)mapView:(BMKMapView *)mapView didSelectAnnotationView:(BMKAnnotationView *)view { [view.superview bringSub

原创 UISearchBar 修改textField背景顏色

self.searchBar.backgroundColor = leftMainColor; self.searchBar.backgroundImage=[[UIImage alloc]init]; if (

原创 iOS 實現側邊欄效果

直奔主題,蘋果提供了類似於側邊欄的分屏控制器UISplitViewController  

原创 OC build 提示 PRODUCT_NAME undefined

解決方案:  項目 -> Build Setting , 搜索Product Name ,添加$(TARGET_NAME) 即可 點贊 收藏 分享 文章舉報 迷途de小狼 發佈

原创 ionic5 打包ios、android

1.添加平臺 ionic cordova platform add android ionic cordova platform add ios 2.編譯 ios: ionic cordova build ios

原创 Mintui Cell-swipe 按鈕自動彈出問題

使用cell-swipe實現左滑刪除效果,當頁面沒加載完跳到其他頁面再回來的時候,經常會出現按鈕全部堆在右側的現象; 解決方案: 1.設置一個臨時變量temp來決定是否要重新刷新dom; <div v-if="temp"> //頁面內容

原创 餓了麼mint-ui庫loadmore組件的下拉問題

餓了麼mint-ui庫loadmore組件的下拉問題 一、在android和ios端,下拉不順暢或者一點點傾斜滑動都會拖動到整個列表下拉 二、ios使用fastclick的情況下,下拉刷新會發生點擊穿透的問題 三、左右滑動時禁止load

原创 SSD:Single Shot MultiBox Detector 心得 (持續更新中。。。)

對於文章代碼的一些理解, 以此來省去用A4紙記錄的苦惱 SSD文章鏈接:http://arxiv.org/pdf/1512.02325v2.pdf SSD代碼鏈接:https://github.com/weiliu89/caffe/tre

原创 ubuntu debug 版本opencv安裝

原文地址:http://blog.skyoung.org/2013/05/01/how-to-install-OpenCV-and-boost/ ubuntu 12.04 LTS下安裝OpenCV,Boost等常用庫 Cont

原创 Ubuntu 14.04+cuda8.0+opencv3.1+caffe

這幾天入坑1080,使用最新的 UBUNTU16.04 系統,先說下GTX1080的幾個坑:1080裝機只能使用DVI接口的顯示器,無法使用VGA或者轉接頭之類的。當然當你把顯卡驅動安好之後,是能用VGA

原创 Python 二維數組輸出爲圖片

對於二維數組,img_mask [[  0   0   0 ...,   7   7   7]  [  0   0   0 ...,   7   7   7]  [  0   0   0 ...,   7   7   7]  ..., 

原创 Python 讀入 .Mat格式數據的方式

方案1: from scipy.io import loadmat data = loadmat('/path/to/mat'); 方案2: import h5py data=h5py.File('/path/to/mat')

原创 正確使用cocoaPods 在OC中集成Charts第三方庫

之前的看到的都是錯誤的!!!!!!!!!!!!正確的步驟如下:1.安裝cocoaPods2.新建一個OC工程3.pod init  到 vi Podfile # Uncomment the next line to define a gl