Well, get the CFG test out of the way of course.

The CFG_... is a #define in my other app



2012/9/16 Johan Brichau <[email protected]>:
> Thanks for the response, but unfortunately it does not seem to help.
>
> I'm a bit amazed because the Dr Geo app works perfectly fine. So where is the 
> trick?
>
> On 16 Sep 2012, at 19:24, [email protected] wrote:
>
>> In another application, I do have this thing that helps in rescaling
>> (the class is a XXXView)
>>
>>               // Enable retina display
>>               if( CFG_IOS_RETINA_ENABLED ){
>>                       if( [self 
>> respondsToSelector:@selector(contentScaleFactor)] ){
>>                               float scaleFactor=[[UIScreen mainScreen] 
>> scale];
>>                               [self setContentScaleFactor:scaleFactor];
>>                       }
>>               }
>>
>> This is a quickfix that will look ugly but... worth trying.
>>
>> Add that into the SqueakUIView.m file inside this:
>>
>> - (id)initWithFrame:(CGRect) aFrame {
>>       self = [super initWithFrame: aFrame];
>>       self.autoresizingMask =
>> UIViewAutoresizingFlexibleRightMargin|UIViewAutoresizingFlexibleBottomMargin|UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth;
>>       colorspace = CGColorSpaceCreateDeviceRGB();
>>       return self;
>> }
>>
>> I suspect that self.autoresizingMask is the culprit...
>>
>> Hope it helps.
>>
>> Phil
>>
>> 2012/9/16 Igor Stasenko <[email protected]>:
>>> On 16 September 2012 18:14, Johan Brichau <[email protected]> wrote:
>>>> Hi everyone,
>>>>
>>>> After some very friendly help of Nick and Igor at ESUG, I managed to get 
>>>> the iStackVM running on my iPad again, thanks a lot guys!
>>>>
>>>> However, the image now shows up on only a very small portion of the screen.
>>>> Is that a known issue?
>>>
>>> yes. this is a "retina display" issue.  :)
>>> I am not sure what is the status, however i can assure you that we
>>> (especially Esteban) is well aware of it.
>>>
>>>>
>>>> btw: the problem I experienced to compile the vm correctly was eventually 
>>>> a package-loading problem (i.e. I did not get the correct packages). This 
>>>> is because there is a bug in the version-method generation of Metacello. 
>>>> Together with Dale, we discussed that issue and Dale just solved it last 
>>>> friday.
>>>>
>>>> Johan
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko.
>>>
>>
>
>

Reply via email to