« first day (1192 days earlier)      last day (64 days later) » 

12:04 PM
func checkVisited(){


let checkVisit = NSUserDefaults.standardUserDefaults().boolForKey("bool")

if (!checkVisit) {
// the below view will only appear when the user open the stats between 4 pm to 8 pm
if hour >= 16 && hour < 23 {

NSUserDefaults.standardUserDefaults().setBool(true, forKey: "bool")
NSUserDefaults.standardUserDefaults().synchronize()
isalerViewShown = true // it will prevent others to appear
print("its coming inside")
let Alert1 = UIAlertController(title: "Proxy check", message: "been to college today ?", preferredStyle: .Alert)
 
12:25 PM
1 message moved from iOS Developer Family
 

« first day (1192 days earlier)      last day (64 days later) »