Adding a custom font on a titanium window title

If you are working with Titanium and you need to customize the font you are using as a title in a window, there is no predefined solution to do this, but there is a trick, the “titleControl” window property with a label control.

	var windowTitle = Ti.UI.createLabel({
		color: '#fff',
		font: {
			fontFamily: 'Proxima Nova',
			fontSize: 16,
			fontWeight: 'bold'
		},
		text: 'My fancy App'
	});

	var win = Ti.UI.createWindow({
		titleControl: windowTitle,
		backgroundColor: '#fff'
	});

Hope it helps!