Skip to content

libRRiOS8Backport is an effort to backport parts of iOS8 to iOS7

License

Notifications You must be signed in to change notification settings

RolandasRazma/RRiOS8Backport

Repository files navigation

iOS8 Backport

This is iOS8 API backport to iOS7.

Goal

  • backport useful features from iOS8 to iOS7 to simplify transition for developers without using any private API.
  • backport should behave 100% same way on iOS7 as on iOS8 from developers and users perspective. For example it is ok to add implementation of -[CLLocationManager requestWhenInUseAuthorization] that does nothing on iOS7.
  • on iOS8 back ported API shouldn't have any effect on system - default iOS implementation should be used.

Why?

Not all users will update to iOS8 and developer life is hard enaugh :)

How

Add project as library, setup Build Phases, add -ObjC to Other Linker Flags

Current backports table

UIKit
UILabel automatic preferred max layout width Done.
CLLocationManager
-[CLLocationManager requestWhenInUseAuthorization] Done.
-[CLLocationManager requestAlwaysAuthorization] Done.
LAContext
you will have to use:
LAContext *context = [[NSClassFromString(@"LAContext") alloc] init];
instead of:
LAContext *context = [[LAContext alloc] init];
-[LAContext setLocalizedFallbackTitle:] Done.
-[LAContext localizedFallbackTitle] Done.
-[LAContext canEvaluatePolicy:error:] Done.
-[LAContext evaluatePolicy:localizedReason:reply:] Done.

iOS7 to iOS6 Backport

If you supporting iOS6 check out RRiOS7Backport

ContainerView

If you supporting iOS5 check out RRContainerView and RRBaseInternationalization

About

libRRiOS8Backport is an effort to backport parts of iOS8 to iOS7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published