Tibolte / TGFoursquareLocationDetail-Demo

iOS project recreating Foursquare design and behaviour when presenting location details
MIT License
287 stars 39 forks source link

KIImage's PageControl hidden #3

Closed mkll closed 10 years ago

mkll commented 10 years ago

ios simulator screen shot 28-01-2014 11 27 05 ios simulator screen shot 28-01-2014 11 27 16-1

Is there any way to shift PageControl toward the top of the screen? I tryed but unsuccessfully...

Tibolte commented 10 years ago

This is has something to do with the KIImagePager I'm using, we would need to change the frame of this page control in it. However, even by doing so, the image pager is placed behind a transparent tableview header, that means we wouldn't be able to use the page control since the header would catch touch events.

mkll commented 10 years ago

My question is just about PageControl's dots, not about its functionality. :)

Tibolte commented 10 years ago

try this in KIImagePage.m: _pageControl.center = CGPointMake(_scrollView.frame.size.width/2, _scrollView.frame.size.height - 110);

mkll commented 10 years ago

Ok, thanks, I'l try this.

mkll commented 10 years ago

Tryed, it works, thanks.

Tibolte commented 10 years ago

Nice I'll add this fix to the repo pretty soon.