iOS开发检测权限是否开启

1.iOS开发检测是否开启定位:

需要导入:
#import <CoreLocation/CoreLocation.h>  

+ (void)openLocationServiceWithBlock:(ReturnBlock)returnBlock  {  
    BOOL isOPen = NO;  
    if ([CLLocationManager locationServicesEnabled] && [CLLocationManager authorizationStatus] != kCLAuthorizationStatusDenied) {  
        isOPen = YES;  
    }  
    if (returnBlock) {  
        returnBlock(isOpen);  
    }  
}  

2.iOS开发检测是否允许消息推送:

需要导入:
#import <UserNotifications/UserNotifications.h>  

+ (void)openMessageNotificationServiceWithBlock:(ReturnBlock)returnBlock  
{  
    BOOL isOpen = NO;  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0  
    UIUserNotificationSettings *setting = [[UIApplication sharedApplication] currentUserNotificationSettings];  
    if (setting.types != UIUserNotificationTypeNone) {  
        isOpen = YES;  
    }  
#else  
    UIRemoteNotificationType type = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];  
    if (type != UIRemoteNotificationTypeNone) {  
        isOpen = YES;  
    }  
#endif  
    if (returnBlock) {  
        returnBlock(isOpen);  
    }  
}  


+ (void)openMessageNotificationServiceWithBlock:(ReturnBlock)returnBlock  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0  
    [[UNUserNotificationCenter currentNotificationCenter] getNotificationSettingsWithCompletionHandler:^(UNNotificationSettings *settings) {  
        if (returnBlock) {  
            returnBlock(settings.authorizationStatus == UNAuthorizationStatusAuthorized);  
        }  
    }];  
#elif __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0  
    returnBlock([[UIApplication sharedApplication] isRegisteredForRemoteNotifications]);  
#else  
    UIRemoteNotificationType type = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];  
    if (returnBlock) {  
        returnBlock(type != UIRemoteNotificationTypeNone);  
    }  
#endif  
}  

3.iOS开发检测是否开启摄像头:

需要导入:
#import <AVFoundation/AVFoundation.h>

+ (void)openCaptureDeviceServiceWithBlock:(ReturnBlock)returnBlock  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_7_0  
    AVAuthorizationStatus authStatus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];  
    if (authStatus == AVAuthorizationStatusNotDetermined) {  
        [AVCaptureDevice requestAccessForMediaType:AVMediaTypeVideo completionHandler:^(BOOL granted) {  
            if (returnBlock) {  
                returnBlock(granted);  
            }  
        }];  
        return NO;  
    } else if (authStatus == AVAuthorizationStatusRestricted || authStatus == AVAuthorizationStatusDenied) {  
        returnBlock(NO);  
    } else {  
        returnBlock(YES);  
    }  
#endif  
}  

4.iOS开发检测是否开启相册:

需要导入:
#import <Photos/Photos.h>
#import <AssetsLibrary/AssetsLibrary.h>  

+ (void)openAlbumServiceWithBlock:(ReturnBlock)returnBlock  
{  
    BOOL isOpen;  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0  
    PHAuthorizationStatus authStatus = [PHPhotoLibrary authorizationStatus];  
    isOpen = YES;  
    if (authStatus == PHAuthorizationStatusRestricted || authStatus == PHAuthorizationStatusDenied) {  
        isOpen = NO;  
    }  
#else  
    ALAuthorizationStatus author = [ALAssetsLibrary authorizationStatus];  
    isOpen = YES;  
    if (author == ALAuthorizationStatusRestricted || author == ALAuthorizationStatusDenied) {  
        isOpen = NO;  
    }  
#endif  
    if (returnBlock) {  
        returnBlock(isOpen);  
    }  
}  

5.iOS开发检测是否开启麦克风:

需要导入:
#import <AVFoundation/AVFoundation.h>  

+ (void)openRecordServiceWithBlock:(ReturnBlock)returnBlock  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0  
    AVAudioSessionRecordPermission permissionStatus = [[AVAudioSession sharedInstance] recordPermission];  
    if (permissionStatus == AVAudioSessionRecordPermissionUndetermined) {  
        [[AVAudioSession sharedInstance] requestRecordPermission:^(BOOL granted) {  
            if (returnBlock) {  
                returnBlock(granted);  
            }  
        }];  
    } else if (permissionStatus == AVAudioSessionRecordPermissionDenied) {  
        returnBlock(NO);  
    } else {  
        returnBlock(YES);  
    }  
#endif  
}  

6.iOS开发检测是否开启通讯录:

需要导入:
#import <AddressBook/AddressBook.h>
#import <Contacts/Contacts.h> 

+ (void)openContactsServiceWithBolck:(ReturnBlock)returnBolck  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_9_0  
    CNAuthorizationStatus cnAuthStatus = [CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts];  
    if (cnAuthStatus == CNAuthorizationStatusNotDetermined) {  
        CNContactStore *store = [[CNContactStore alloc] init];  
        [store requestAccessForEntityType:CNEntityTypeContacts completionHandler:^(BOOL granted, NSError *error) {  
            if (returnBolck) {  
                returnBolck(granted);  
            }  
        }];  
    } else if (cnAuthStatus == CNAuthorizationStatusRestricted || cnAuthStatus == CNAuthorizationStatusDenied) {  
        if (returnBolck) {  
            returnBolck(NO);  
        }  
    } else {  
        if (returnBolck) {  
            returnBolck(YES);  
        }  
    }  
#else  
    //ABAddressBookRef addressBook = ABAddressBookCreateWithOptions(NULL, NULL);  
    ABAddressBookRef addressBook = ABAddressBookCreate();  
    ABAuthorizationStatus authStatus = ABAddressBookGetAuthorizationStatus();  
    if (authStatus != kABAuthorizationStatusAuthorized) {  
        ABAddressBookRequestAccessWithCompletion(addressBook, ^(bool granted, CFErrorRef error) {  
            dispatch_async(dispatch_get_main_queue(), ^{  
                if (error) {  
                    NSLog(@"Error: %@", (__bridge NSError *)error);  
                    if (returnBolck) {  
                        returnBolck(NO);  
                    }  
                } else {  
                    if (returnBolck) {  
                        returnBolck(YES);  
                    }  
                }  
            });  
        });  
    } else {  
        if (returnBolck) {  
            returnBolck(YES);  
        }  
    }  
#endif  
}  

7.iOS开发检测是否开启蓝牙:

需要导入:
#import <CoreBluetooth/CoreBluetooth.h>  

+ (void)openPeripheralServiceWithBolck:(ReturnBlock)returnBolck  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_7_0  
    CBPeripheralManagerAuthorizationStatus cbAuthStatus = [CBPeripheralManager authorizationStatus];  
    if (cbAuthStatus == CBPeripheralManagerAuthorizationStatusNotDetermined) {  
        if (returnBolck) {  
            returnBolck(NO);  
        }  
    } else if (cbAuthStatus == CBPeripheralManagerAuthorizationStatusRestricted || cbAuthStatus == CBPeripheralManagerAuthorizationStatusDenied) {  
        if (returnBolck) {  
            returnBolck(NO);  
        }  
    } else {  
        if (returnBolck) {  
            returnBolck(YES);  
        }  
    }  
#endif  
}  

8.iOS开发检测是否开启日历/备忘录:

需要导入:
#import <EventKit/EventKit.h>  

+ (void)openEventServiceWithBolck:(ReturnBlock)returnBolck withType:(EKEntityType)entityType  
{  
    // EKEntityTypeEvent    代表日历  
    // EKEntityTypeReminder 代表备忘  
    EKAuthorizationStatus ekAuthStatus = [EKEventStore authorizationStatusForEntityType:entityType];  
    if (ekAuthStatus == EKAuthorizationStatusNotDetermined) {  
        EKEventStore *store = [[EKEventStore alloc] init];  
        [store requestAccessToEntityType:entityType completion:^(BOOL granted, NSError *error) {  
            if (returnBolck) {  
                returnBolck(granted);  
            }  
        }];  
    } else if (ekAuthStatus == EKAuthorizationStatusRestricted || ekAuthStatus == EKAuthorizationStatusDenied) {  
        if (returnBolck) {  
            returnBolck(NO);  
        }  
    } else {  
        if (returnBolck) {  
            returnBolck(YES);  
        }  
    }  
}  

9.iOS开发检测是否开启联网:

需要导入:
#import <CoreTelephony/CTCellularData.h>  

+ (void)openEventServiceWithBolck:(ReturnBlock)returnBolck  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_9_0  
    CTCellularData *cellularData = [[CTCellularData alloc] init];  
    cellularData.cellularDataRestrictionDidUpdateNotifier = ^(CTCellularDataRestrictedState state){  
        if (state == kCTCellularDataRestrictedStateUnknown || state == kCTCellularDataNotRestricted) {  
            if (returnBolck) {  
                returnBolck(NO);  
            }  
        } else {  
            if (returnBolck) {  
                returnBolck(YES);  
            }  
        }  
    };  
    CTCellularDataRestrictedState state = cellularData.restrictedState;  
    if (state == kCTCellularDataRestrictedStateUnknown || state == kCTCellularDataNotRestricted) {  
        if (returnBolck) {  
            returnBolck(NO);  
        }  
    } else {  
        if (returnBolck) {  
            returnBolck(YES);  
        }  
    }  
#endif  
}  

10.iOS开发检测是否开启健康:

需要导入:
#import <HealthKit/HealthKit.h>  

+ (void)openHealthServiceWithBolck:(ReturnBlock)returnBolck  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0  
    if (![HKHealthStore isHealthDataAvailable]) {  
        if (returnBolck) {  
            returnBolck(NO);  
        }  
    } else {  
        HKHealthStore *healthStore = [[HKHealthStore alloc] init];  
        HKObjectType *hkObjectType = [HKObjectType quantityTypeForIdentifier:HKQuantityTypeIdentifierHeight];  
        HKAuthorizationStatus hkAuthStatus = [healthStore authorizationStatusForType:hkObjectType];  
        if (hkAuthStatus == HKAuthorizationStatusNotDetermined) {  
            // 1. 你创建了一个NSSet对象,里面存有本篇教程中你将需要用到的从Health Stroe中读取的所有的类型:个人特征(血液类型、性别、出生日期)、数据采样信息(身体质量、身高)以及锻炼与健身的信息。  
            NSSet <HKObjectType *> * healthKitTypesToRead = [[NSSet alloc] initWithArray:@[[HKObjectType characteristicTypeForIdentifier:HKCharacteristicTypeIdentifierDateOfBirth],[HKObjectType characteristicTypeForIdentifier:HKCharacteristicTypeIdentifierBloodType],[HKObjectType characteristicTypeForIdentifier:HKCharacteristicTypeIdentifierBiologicalSex],[HKObjectType quantityTypeForIdentifier:HKQuantityTypeIdentifierBodyMass],[HKObjectType quantityTypeForIdentifier:HKQuantityTypeIdentifierHeight],[HKObjectType workoutType]]];  
            // 2. 你创建了另一个NSSet对象,里面有你需要向Store写入的信息的所有类型(锻炼与健身的信息、BMI、能量消耗、运动距离)  
            NSSet <HKSampleType *> * healthKitTypesToWrite = [[NSSet alloc] initWithArray:@[[HKObjectType quantityTypeForIdentifier:HKQuantityTypeIdentifierBodyMassIndex],[HKObjectType quantityTypeForIdentifier:HKQuantityTypeIdentifierActiveEnergyBurned],[HKObjectType quantityTypeForIdentifier:HKQuantityTypeIdentifierDistanceWalkingRunning],[HKObjectType workoutType]]];  
            [healthStore requestAuthorizationToShareTypes:healthKitTypesToWrite readTypes:healthKitTypesToRead completion:^(BOOL success, NSError *error) {  
                if (returnBolck) {  
                    returnBolck(success);  
                }  
            }];  
        } else if (hkAuthStatus == HKAuthorizationStatusSharingDenied) {  
            if (returnBolck) {  
                returnBolck(NO);  
            }  
        } else {  
            if (returnBolck) {  
                returnBolck(YES);  
            }  
        }  
    }  
#endif  
}  

11.iOS开发检测是否开启Touch ID:

需要导入:
#import <LocalAuthentication/LocalAuthentication.h>


#pragma mark - 开启Touch ID服务  
+ (void)openTouchIDServiceWithBlock:(ReturnBlock)returnBlock  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0  
    LAContext *laContext = [[LAContext alloc] init];  
    laContext.localizedFallbackTitle = @"输入密码";  
    NSError *error;  
    if ([laContext canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&error]) {  
        NSLog(@"恭喜,Touch ID可以使用!");  
        [laContext evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason:@"需要验证您的指纹来确认您的身份信息" reply:^(BOOL success, NSError *error) {  
            if (success) {  
                // 识别成功  
                if (returnBlock) {  
                    [[NSOperationQueue mainQueue] addOperationWithBlock:^{  
                        returnBlock(YES);  
                    }];  
                }  
            } else if (error) {  
                if (returnBlock) {  
                    [[NSOperationQueue mainQueue] addOperationWithBlock:^{  
                        returnBlock(NO);  
                    }];  
                }  
                if (error.code == LAErrorAuthenticationFailed) {  
                    // 验证失败  
                }  
                if (error.code == LAErrorUserCancel) {  
                    // 用户取消  
                }  
                if (error.code == LAErrorUserFallback) {  
                    // 用户选择输入密码  
                }  
                if (error.code == LAErrorSystemCancel) {  
                    // 系统取消  
                }  
                if (error.code == LAErrorPasscodeNotSet) {  
                    // 密码没有设置  
                }  
            }  
        }];  
    } else {  
        NSLog(@"设备不支持Touch ID功能,原因:%@",error);  
        if (returnBlock) {  
            returnBlock(NO);  
        }  
    }  
#endif  
}  

12.iOS开发检测是否开启Apple Pay:

需要导入:
#import <PassKit/PassKit.h> 

#pragma mark - 开启Apple Pay服务  
+ (void)openApplePayServiceWithBlock:(ReturnBlock)returnBlock  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_9_0  
    NSArray<PKPaymentNetwork> *supportedNetworks = @[PKPaymentNetworkAmex, PKPaymentNetworkMasterCard, PKPaymentNetworkVisa, PKPaymentNetworkDiscover];  
    if ([PKPaymentAuthorizationViewController canMakePayments] && [PKPaymentAuthorizationViewController canMakePaymentsUsingNetworks:supportedNetworks]) {  
        if (returnBlock) {  
            returnBlock(YES);  
        }  
    } else {  
        if (returnBlock) {  
            returnBlock(NO);  
        }  
    }  
#endif  
}  

13.iOS开发检测是否开启语音识别:

需要导入:
#import <Speech/Speech.h>  

#pragma mark - 开启语音识别服务  
+ (void)openSpeechServiceWithBlock:(ReturnBlock)returnBlock  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0  
    SFSpeechRecognizerAuthorizationStatus speechAuthStatus = [SFSpeechRecognizer authorizationStatus];  
    if (speechAuthStatus == SFSpeechRecognizerAuthorizationStatusNotDetermined) {  
        [SFSpeechRecognizer requestAuthorization:^(SFSpeechRecognizerAuthorizationStatus status) {  
            if (status == SFSpeechRecognizerAuthorizationStatusAuthorized) {  
                dispatch_async(dispatch_get_main_queue(), ^{  
                    if (returnBlock) {  
                        returnBlock(YES);  
                    }  
                });  
            } else {  
                dispatch_async(dispatch_get_main_queue(), ^{  
                    if (returnBlock) {  
                        returnBlock(YES);  
                    }  
                });  
            }  
        }];  
    } else if (speechAuthStatus == SFSpeechRecognizerAuthorizationStatusAuthorized) {  
        if (returnBlock) {  
            returnBlock(YES);  
        }  
    } else{  
        if (returnBlock) {  
            returnBlock(NO);  
        }  
    }  
#endif  
}  

14.iOS开发检测是否开启媒体资料库/Apple Music:

需要导入:
#import <MediaPlayer/MediaPlayer.h>  

#pragma mark - 开启媒体资料库/Apple Music 服务  
+ (void)openMediaPlayerServiceWithBlock:(ReturnBlock)returnBlock  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_9_3  
    MPMediaLibraryAuthorizationStatus authStatus = [MPMediaLibrary authorizationStatus];  
    if (authStatus == MPMediaLibraryAuthorizationStatusNotDetermined) {  
        [MPMediaLibrary requestAuthorization:^(MPMediaLibraryAuthorizationStatus status) {  
            if (status == MPMediaLibraryAuthorizationStatusAuthorized) {  
                dispatch_async(dispatch_get_main_queue(), ^{  
                    if (returnBlock) {  
                        returnBlock(YES);  
                    }  
                });  
            }else{  
                dispatch_async(dispatch_get_main_queue(), ^{  
                    if (returnBlock) {  
                        returnBlock(NO);  
                    }  
                });  
            }  
        }];  
    }else if (authStatus == MPMediaLibraryAuthorizationStatusAuthorized){  
        if (returnBlock) {  
            returnBlock(YES);  
        }  
    }else{  
        if (returnBlock) {  
            returnBlock(NO);  
        }  
    }  
#endif  
}  

15.iOS开发检测是否开启Siri:

需要导入:
#import <Intents/Intents.h>  

#pragma mark - 开启Siri服务  
+ (void)openSiriServiceWithBlock:(ReturnBlock)returnBlock  
{  
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0  
    INSiriAuthorizationStatus siriAutoStatus = [INPreferences siriAuthorizationStatus];  
    if (siriAutoStatus == INSiriAuthorizationStatusNotDetermined) {  
        [INPreferences requestSiriAuthorization:^(INSiriAuthorizationStatus status) {  
            if (status == INSiriAuthorizationStatusAuthorized) {  
                dispatch_async(dispatch_get_main_queue(), ^{  
                    if (returnBlock) {  
                        returnBlock(YES);  
                    }  
                });  
            } else {  
                dispatch_async(dispatch_get_main_queue(), ^{  
                    if (returnBlock) {  
                        returnBlock(YES);  
                    }  
                });  
            }  
        }];  
    } else if (siriAutoStatus == INSiriAuthorizationStatusAuthorized) {  
        if (returnBlock) {  
            returnBlock(YES);  
        }  
    } else{  
        if (returnBlock) {  
            returnBlock(NO);  
        }  
    }  
#endif  
}  

在.h文件中申明block

#if NS_BLOCKS_AVAILABLE  
typedef void(^ReturnBlock)(BOOL isOpen);  
#endif  

由于iOS10的权限原因,需要在工程的info.plist(右击选择Open as - Source Code)中添加

<!-- 相册 -->   
<key>NSPhotoLibraryUsageDescription</key>   
<string>App需要您的同意,才能访问相册</string>   
<!-- 相机 -->   
<key>NSCameraUsageDescription</key>   
<string>App需要您的同意,才能访问相机</string>   
<!-- 麦克风 -->   
<key>NSMicrophoneUsageDescription</key>   
<string>App需要您的同意,才能访问麦克风</string>   
<!-- 位置 -->   
<key>NSLocationUsageDescription</key>   
<string>App需要您的同意,才能访问位置</string>   
<!-- 在使用期间访问位置 -->   
<key>NSLocationWhenInUseUsageDescription</key>   
<string>App需要您的同意,才能在使用期间访问位置</string>   
<!-- 始终访问位置 -->   
<key>NSLocationAlwaysUsageDescription</key>   
<string>App需要您的同意,才能始终访问位置</string>   
<!-- 日历 -->   
<key>NSCalendarsUsageDescription</key>   
<string>App需要您的同意,才能访问日历</string>   
<!-- 提醒事项 -->   
<key>NSRemindersUsageDescription</key>   
<string>App需要您的同意,才能访问提醒事项</string>   
<!-- 运动与健身 -->   
<key>NSMotionUsageDescription</key>  
 <string>App需要您的同意,才能访问运动与健身</string>   
<!-- 健康更新 -->   
<key>NSHealthUpdateUsageDescription</key>   
<string>App需要您的同意,才能访问健康更新 </string>   
<!-- 健康分享 -->   
<key>NSHealthShareUsageDescription</key>   
<string>App需要您的同意,才能访问健康分享</string>   
<!-- 蓝牙 -->   
<key>NSBluetoothPeripheralUsageDescription</key>   
<string>App需要您的同意,才能访问蓝牙</string>   
<!-- 媒体资料库 -->   
<key>NSAppleMusicUsageDescription</key>   
<string>App需要您的同意,才能访问媒体资料库</string>  
<!-- 语音识别 -->   
<key>NSSpeechRecognitionUsageDescription</key>   
<string>App需要您的同意,才能使用语音识别</string>  

转至http://blog.csdn.net/wgl_happy/article/details/53810647

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 212,332评论 6 493
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,508评论 3 385
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 157,812评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,607评论 1 284
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 65,728评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 49,919评论 1 290
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,071评论 3 410
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,802评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,256评论 1 303
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,576评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,712评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,389评论 4 332
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,032评论 3 316
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,798评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,026评论 1 266
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,473评论 2 360
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,606评论 2 350