SEBASTIAN BORGGREWE > BLOG
WYSIWYG - What you see is what you get

Recently I tried to implement an all black UISegmentedControl using the tintColor attribute: [segmentedControl setTintColor:[UIColor blackColor]]

I was however not aware that Apple always uses a darker colour to highlight the selected segment. Therefore the above will always stay black. Easy enough to solve: [segmentedControl setTintColor:[UIColor darkGreyColor]]

Took me a while to realise though. Hopefully this saves you some trouble, if you run into the same issue.

Loyalli… Coming in October 2011 to a venue near you!

While researching (again) the size of the iPhone status bar, I stumbled upon this very useful cheat sheet.

iPhone UI Sizes cheat sheet

While publishing a temporary iWeb website for a mate of mine, I realised that Google Chrome won’t show the website navigation bar, but instead throws an error to the console saying: “XMLHttpRequest cannot load file://(censored)/feed.xml. Origin null is not allowed by Access-Control-Allow-Origin.”.

What’s the reason for that?
Apparently iWeb is saving the auto-generated navigation to a file called feed.xml and tries to read it via XMLHTTPRequest. When you publish your website with iWeb you enter the final URL for your website. If you are not viewing the website using that particular URL (e.g. your local harddrive), the resource file feed.xml call is considered XSR by your good browser. (e.g. Chrome, Firefox..)

However the really interesting thing is, that Apple’s Safari is loading the resource without even warning the user…

Well done!

Sebastian Borggrewe (June 2011) - Mark my words…
Google+ is Facebook for adults and professionals

My new project ReLecture…
To be found at: http://www.relectureapp.com 

Coming in September 2011.

Check back for more…

My new project ReLecture…To be found at: http://www.relectureapp.com 
Coming in September 2011.
Check back for more…
Steve Jobs
It’s better to be a pirate than to join the Navy.

App of the Week in the UK…

App of the Week in the UK…

IF YOU LIKE
TO HIRE ME
PLEASE LET ME
KNOW

1. Have a look at my work
2. Feel free to contact me
3. Let's talk about it over a cup of tea.