16/03/11

How to use a font not available

Filed under: iPhone Dev SDK by Marc @ 13:50

Hi all, recently I found a way to use a font that’s not on the list of available fonts in the SDK.

It’s surprising because this feature is available since the iOS version 3.2 but I’ve just figured it out today, in one hand this is just another example of how big and complete the SDK is but on the other hand it also makes almost impossible to know about all of its features.

Indeed it’s pretty simple, you just have to:

    - add font file to project, I’m not sure if it has to be a .tff or an .otf, you’ll have to try it by yourself
    - open info.plist and add a UIAppFonts key, which is an array, so you can add as many fonts as you need. Remember you just have to add the font filename for each one, i.e. newfont.ttf
    - Now you’re ready to use your font inside the source just like any other font, i.e: [UIFont fontWithName:@"newfont" size:12];

18/02/11

UIWebView autoresize issue

Filed under: iPhone Dev SDK by Marc @ 10:28

Hi all,

I had this strange issue for a long time in one of ours projects, it’s a very strange issue as it only happens in one specific scenario. I have a UIWebView that loads an html content from a local file, which has to be loaded without any scaling to fit, it just has to be displayed filling the current width/height screen size. If the webview is loaded in portrait and then rotated to landscape, and again to portrait everything works fine, the view is resized and the content repositioned as it has to.
The issue only happens when it’s loaded in landscape mode and then rotated to portrait, in that case the content is not resized as it should be, it remains 1024px wide when it should stay at the original 768px, and a couple of scroll appears.

The only way to fix it I found was to insert thist html code:
<meta name='viewport' content='width=device-width; initial-scale=1.0; maximum-scale=1.0;'>

If you need more info you can take a look at the original threat from where I’ve got the trick.

09/12/10

New iPhone App: La Marató TV3

Filed under: iPhone Apps by Tesh @ 09:59

For sixtemia has been a pleasure to collaborate with La Marató. We worked with what we do best, developing applications for smartphones, iPhone and Android. For the first time in the history of the marathon, the Users of smartphones will make donations via the application, in addition to following the news, see the counter, looking for work, …

We hope to be successful and contribute a bit to promote La Marató.

19/11/10

New iPhone/iPad app: S.Bachiller

Filed under: iPhone Apps by Tesh @ 14:05

Today a new fashion brand trust in our services. We develop a new iPhone app for Salvador Bachiller. We’ve worked closer with our client Creadsmedia to make them a completely success.

This app is a pocket catalogues of all the products that can be found in each Salvador Bachiller(SB) store and a SB’s news and promotions reader. SB’s team will update the content weekly to keep you informed about all its new products. Now the users will can buy SB’s products by his online store using iPad or iPhone.

Now the user can use Google maps functionalities to search his closest store.

Finally the app offers the possibility to search low cost flies, by Trabber services. And get information about the airlines and his luggage conditions.

18/10/10

New iPhone app: Pull&Bear

Filed under: iPhone Apps by Tesh @ 09:42

Today a new fashion brand trust in our services. We develop a new iPhone app for Pull&Bear, under Inditex license. We’ve worked closer with our client Abuse to make them a completely success.

This app is a pocket catalogues of all the products that can be found in each Pull&Bear store, organized by sections which is very useful for all customers, but one of the most important features of the application is the update frequency: Uterqüe’s team will update the content weekly to keep you informed about all its new products.

Now the user can use a Augmented Reality or Google maps functionalities to search his closest store.

I would like to take this post to talk about mobile marketing posibilities, there is a lot of companies around the world using mobile marketing solutions to promote their products. iPhone and large set of latest mobile devices has the multimedia capabilities to provide a very easy, clear and useful channel of communication between companies and it’s potential customers.

The fact of Uterque releasing a set of applications available in most important plattforms(iPhone, Android, Nokia, Blackberry,…) it’s just another example of how useful can be for the companies to keep his customers updated with it’s latest products through a maketing mobile application.

05/10/10

New iPhone App: Tintoretto

Filed under: iPhone Apps by Tesh @ 17:22

Today another fashion brand trust in our services. We develop a new iPhone app for Tintoretto, under Induyco license. We’ve worked closer with our client Creadsmedia to make them a completely success.

Download this application to be informed of updates season. You can also view the catalog, know at our premiere proposals fashion, with the most suggestive looks for every time and Tintoretto locate a retailer near you.

Now the user can use Google Maps functionalities to situate the tintoretto’s store.

28/09/10

New iPhone app: iMillennium

Filed under: iPhone Apps by Tags: , , , — Tesh @ 08:57

Today an important disco club trust in our services. We develop a new iPhone app for Millennium Cosmic Club. We’ve worked closer with our client La Perruquera to make them a completely success.

This application allows to read about the next party on Millennium Cosmic club and share this using Facebook connect and email.

It also gives the possibility to convert the user into a Millennium’s DJ through a little game. Where by selecting a sound and shake the iPhone, users can create a session to their friends.

By the publication of this application, Millennium enters to the exclusive group of clubs that have released their iPhone application.

27/08/10

iPhone icon rounded corner exact radius

Filed under: iPhone Apps Design by Marc @ 09:13

This might be usefull for all those designers who want to create great fancy application icons.

The exact radius for the icon rounded corners is:

  • iPhone OS 3.x(57×57) is 9 pixels
  • iPhone OS 4.0(114×114) I guess it’s 18 pixels but I’m not sure of that

The exact radius for the Artwork(512×512) is 80 pixels.

25/08/10

Zooming an image using UIScrollView

Filed under: iPhone Dev SDK by Tesh @ 08:36

To add the zooming in the scrolling part you can do this by following these steps:

1. Make the MyViewController a UIScrollViewDelegate. Do this by adding in the @interface declaration in the .h file.
2. Create a UIImageView instance variable in the @interface of MyViewController. We will need this to specify it to the Delegate which object is to be zoomed. Add the @property and @synthesize for this image in relevant places. I used scroll2ImageView as the name of the instance.
3. In the viewDidLoad Method in myViewController.m class replace the code for setting up scrollView2 with this code.

[scrollView2 setBackgroundColor:[UIColor blackColor]];
[scrollView2 setCanCancelContentTouches:NO];
scrollView2.clipsToBounds = YES; // default is NO, we want to restrict drawing within our scrollview
scrollView2.indicatorStyle = UIScrollViewIndicatorStyleWhite;
scroll2ImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"image0.jpg"]];
[scrollView2 addSubview:scroll2ImageView];
[scrollView2 setContentSize:CGSizeMake(scroll2ImageView.frame.size.width, scroll2ImageView.frame.size.height)];
scrollView2.minimumZoomScale = 1;
scrollView2.maximumZoomScale = 3;
scrollView2.delegate = self;
[scrollView2 setScrollEnabled:YES];

We made three changes here. First we replaced the local instance of imageView with the class instance scroll2ImageView. We will need this in the next step. Second we added min/max zoom scale for the image. Third we assigned the scrollView2 delegate to self.

4. Last thing we need to do is tell the delegate wat all to zoom when it detects a zoom in/out pinch. We add the following method for this.

-(UIView *) viewForZoomingInScrollView:(UIScrollView *)scrollView {
return scroll2ImageView;
}

16/07/10

New iPhone App: Uterqüe

Filed under: iPhone Apps by Tesh @ 17:26

Today a new fashion brand trust in our services. We develop a new iPhone app for Uterqüe, under Inditex license. We’ve worked closer with our client Abuse to make them a completely success.

This app is a pocket catalogues of all the products that can be found in each Uterqüe store, organized by sections which is very useful for all customers, but one of the most important features of the application is the update frequency: Uterqüe’s team will update the content weekly to keep you informed about all its new products.

Now the user can use a Augmented Reality or Google maps functionalities to search his closest store.

I would like to take this post to talk about mobile marketing posibilities, there is a lot of companies around the world using mobile marketing solutions to promote their products. iPhone and large set of latest mobile devices has the multimedia capabilities to provide a very easy, clear and useful channel of communication between companies and it’s potential customers.

The fact of Uterque releasing a set of applications available in most important plattforms(iPhone, Android, Nokia, Blackberry,…) it’s just another example of how useful can be for the companies to keep his customers updated with it’s latest products through a maketing mobile application.

Older Posts »