-1
我正在捆綁,使我自己SnapchatHax,當我綁打造的應用程序,我有一個錯誤:類型ID的未找到對象
Severity Code Description Project File Line Suppression State
Error property 'timeIntervalSince1970' not found on object of type 'id' SnapchatHax (SnapchatHax\SnapchatHax) C:\re\SnapchatHax-master\SnapchatHax\Snapchat\Internal\SCAPIRequest.m 14
這裏是有漏洞的代碼:
// SCAPIRequest.m
// SnapchatHax
//
// Created by Alex Nichol on 12/17/13.
// Copyright (c) 2013 Alex Nichol. All rights reserved.
//
#import "SCAPIRequest.h"
@implementation SCAPIRequest
+ (NSString *)timestampString {\
NSTimeInterval time = [NSDate date].timeIntervalSince1970;
return [NSString stringWithFormat:@"%llu", (unsigned long long)round(time * 1000.0)];
}
謝謝大家
+(的NSString *)timestampString {\ <----看到\?也許是這樣的? –