On 19 Jul 2014, at 10:36, Roland King wrote:
>
>> On 19 Jul 2014, at 11:05 am, Gerriet M. Denkmann
>> wrote:
>>
>>
>> On 18 Jul 2014, at 22:24, Roland King wrote:
>>
2. these Notifications have two rects in their userInfo:
UIKeyboardFrameEnd and UIKeyboardFrameBegin.
In 7.
> On 19 Jul 2014, at 11:05 am, Gerriet M. Denkmann wrote:
>
>
> On 18 Jul 2014, at 22:24, Roland King wrote:
>
>>> 2. these Notifications have two rects in their userInfo: UIKeyboardFrameEnd
>>> and UIKeyboardFrameBegin.
>>> In 7.1.2 these are always in the portrait orientation. To be usable
On 18 Jul 2014, at 22:24, Roland King wrote:
>> 2. these Notifications have two rects in their userInfo: UIKeyboardFrameEnd
>> and UIKeyboardFrameBegin.
>> In 7.1.2 these are always in the portrait orientation. To be usable one has
>> to rotate them to the actual orientation.
>> In 8.0 they ar
>
> In an ideal world this would probably be true.
> And I certainly could wait until all bugs have been fixed by Apple.
> But I am kind of impatient.
ok
>
>
> 2. these Notifications have two rects in their userInfo: UIKeyboardFrameEnd
> and UIKeyboardFrameBegin.
> In 7.1.2 these are
On 18 Jul 2014, at 20:30, Roland King wrote:
>
>> On 18 Jul 2014, at 3:40 pm, Gerriet M. Denkmann wrote:
>>
>> How to get iOS version at runtime?
>>
>> Like:
>>
>> BOOL isRunningOnDeviceOrSimulatorInVersion8 = ???
>>
>> I seem to have asked this question before (about OS X) and was told to
On 18 Jul 2014, at 20:14, Julius Oklamcak wrote:
> [[UIDevice currentDevice] systemVersion] returns a string, i.e. "7.1.2".
>
> if ([[[UIDevice currentDevice] systemVersion] compare:@"8.0"
> options:NSNumericSearch] == NSOrderedDescending)
> // older than 8.0
> else
> // 8.0 and new
> On 18 Jul 2014, at 3:40 pm, Gerriet M. Denkmann wrote:
>
> How to get iOS version at runtime?
>
> Like:
>
> BOOL isRunningOnDeviceOrSimulatorInVersion8 = ???
>
> I seem to have asked this question before (about OS X) and was told to use
> either NSAppKitVersionNumber or NSFoundationVersion
[[UIDevice currentDevice] systemVersion] returns a string, i.e. "7.1.2".
if ([[[UIDevice currentDevice] systemVersion] compare:@"8.0"
options:NSNumericSearch] == NSOrderedDescending)
// older than 8.0
else
// 8.0 and newer
-Original Message-
From: cocoa-dev-bounces+juliuso