1、iPad和iPhone上使用UIAlertController,iPhone正常,iPad失敗。
(1)判斷設(shè)備

(2)具體添加方法如下
UIBarButtonItem上添加

UIButton上添加

左滑刪除按鈕,tableView上添加

2、上傳報(bào)錯(cuò)信息 ERROR ITMS-90475 解決辦法

3、適配iOS13,iOS13獲取不到wifi信息
(1)plist文件中添加定位信息
Privacy - Location When In Use Usage Description ? ? ? ??
App需要經(jīng)過(guò)你的同意,才能在使用期間訪問(wèn)您的位置。
(2)在根控制器viewdidload中添加
#import <CoreLocation/CoreLocation.h>
@property (strong,nonatomic) CLLocationManager *locationManager ;? ?
添加:
if(@available(iOS 13.0,*)){ ?? ? ? ? ? ? ? ?
if([CLLocationManager authorizationStatus] == kCLAuthorizationStatusNotDetermined){ ?? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? self.locationManager = [[CLLocationManager alloc]init]; ?? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? [self.locationManager requestWhenInUseAuthorization]; ? ? ?
? ? ? ? } ? ? ? ? ?
? }