Jony Ive getting inspired for the iOS redesign.
Hint: wait for it.
Tag Archives: iOS
iOS 7 Concept Video
iOS 7 Concept Video | i Heart Apple 2
It’s a mockup video iOS 7. I like the concept of the Lock screen and Quick reply.
How to add geofencing Reminders to iOS programically
Reference : Calendar and Reminders Programming Guide from iOS Developer Library
Apple provides a way to add a Reminder through EventKit from iOS 6.
1. Before start coding, you should add the EventKit Framework to the target first.
2. Check whether iOS is over 6. (Reminder API is available above iOS6)
1 2 3 4 | // Check API (above iOS6) if ([[EKEventStore class] instancesRespondToSelector:@selector(requestAccessToEntityType:completion:)] == NO) { return nil; } |
3. Init EKEventStore and request access.
5 6 7 8 9 10 11 12 13 | EKEventStore *store = [[EKEventStore alloc] init]; [store requestAccessToEntityType:EKEntityTypeReminder completion:^(BOOL granted, NSError *error) { // handle access here if (granted) { // Create Reminder... [1] } [store release]; }]; |
4. If access is granted, Create reminder and add location alarm. (Code should be inside [1])
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | EKReminder *reminder = [EKReminder reminderWithEventStore:store]; reminder.title = @"Geofence Reminder"; reminder.calendar = [store defaultCalendarForNewReminders]; // Use default calendar for new reminders EKAlarm *alarm = [[EKAlarm alloc] init]; EKStructuredLocation *location = [EKStructuredLocation locationWithTitle:@"Location title"]; CLLocation *clLocation = [[CLLocation alloc] initWithLatitude:latitude longitude:longitude]; location.geoLocation = clLocation; [clLocation release]; [alarm setStructuredLocation:location]; alarm.proximity = EKAlarmProximityEnter; // Remind when enter or leave [reminder addAlarm:alarm]; [alarm release]; // Save reminder NSError *error; [store saveReminder:reminder commit:YES error:&error]; if (error != nil) { NSLog(@"reminder error:%@",[error description]); } |
Done!
Status bar height of iOS & Android
Apple debuts AppStore.com vanity URLs
It looks like iOS developers can now use AppStore.com URLs for advertising.
Creating easy-to-read short links to the App Store for your apps and company
You can also create easy-to-read links to your app using App Store Short Links, which use the AppStore.com base URL plus a specific form of your app or company name. This provides a simple way for users to find your apps on the App Store directly from your website or marketing campaigns. These short links are ideal for use in offline communications materials like print ads, TV spots, app trailers, radio ads and billboards.
The domain(Appstore.com/StarTrekApp) appeared on the Super bowl ad of Star Trek movie.
Apple Debuts New AppStore.com Vanity URLs For Developers During Super Bowl
AppStore.com links are not configurable, and the URL could be the company name(e.g., http://appstore.com/milkdrops/) or the app name(e.g., http://appstore.com/beentogether)