Archive for 'Background'

Background Execution in Xcode

It is possible to execute a method on background in Xcode. The secret of this relies in the way that method is called. This can be implemented using the following line of code.

In the above line of code, the method, myBackgroundMethod with one string parameter is executed in background with the string parameter value as @”my string param”.

Incoming search terms:

  • xcode background execution
  • backgroundexecution xcode iphone

Consider a UITableView object, myTableView.

(or)

 

(or)

Incoming search terms:

  • clearcolor not working ios
  • ios uitableview clear background not

Playing Audio in Corona

For playing audio in Corona,

Adding infinite background

Most of the android developers faced this issue. While  scrolling the list view, the background of the list view becomes black. To fix this issue you have to include following in the list view:

Where #E3E3E3 is the color code that you can change according to your requirement.

That’s it.

 

Display the Network Activity Status Indicator

This is the rotating icon displayed on the iPhone status bar in the upper left to indicate there is background network activity taking place.

Incoming search terms:

  • cocos2d-x loading indicator

Setting Background color to a layer in cocos2d

Description :

// Let’s Set background color to magenta.

Incoming search terms:

  • cclayer set background color
  • set background color layer cocos2d
  • set background color cocos2d
  • how to set backgroundcolor to self cclayer cocos2d
  • how to add color layer in cocos2d
  • cocos2dx background color
  • cocos2d-x layer background color
  • cocos2d-x background color
  • cocos2d white background
  • cocos2d set layer background color