Prevent crashes in 32-bit devices

This commit is contained in:
Daigo Sato 2018-06-25 22:16:55 -07:00
parent c291623af3
commit b87c3ba7f8
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@
}
- (void)requestAd {
#ifndef __LP64__
return; // prevent crash on 32bit
#endif
if (_unitId == nil || _size == nil || _request == nil) {
[self setRequested:NO];
return;