Welcome To Snipplr


Everyone's Recent Snippets Tagged ios



« Prev 1 2 3
The following example of iOS Phone sample SMS code employs user-friendly object, with a basis on the HTTP API.
0 201 posted 3 years ago by Broadnet
The following example of iOS Phone sample SMS code employs user-friendly object, with a basis on the HTTP API.
0 196 posted 3 years ago by Broadnet
https://www.chrisjmendez.com/2016/02/10/swift-simple-get-request/
0 153 posted 4 years ago by chrisaiv
This snippet is used to covert any date to days like today, tomorrow, 2 days ago, 2 weeks ago or even 1 years ago.
0 219 posted 4 years ago by dipenpatel
Get Documents directory path in Swift
0 149 posted 5 years ago by ryantxr
This step-by-step tutorial describes how to build an HTML5-based mobile web app by means of Webix library (open source, GPL) and PhoneGap framework. As a result you’ll get an awesome native app for Android devices with rich UI and high performance.
0 237 posted 5 years ago by kengajunior
Place this in your <head> section, and set the href attribute to an image to a 57px x 57px PNG file.
0 162 posted 5 years ago by ajarkovsky
This snippet shows you how to reload the UIAppearance of an application after changes made on the proxies. This is required because iOS nativaly only load appearance proxies on "applicationDidFinishLaunching".
0 304 posted 6 years ago by Nibli
- I have not tested on android - This is not animated as I did not need it for my needs. To make it animated, look at the second to last line in the function `layer3.transform = Ti.UI.create2DMatrix().rotate(angle);` You should be able to animate th...
0 178 posted 6 years ago by rondog
enqueue a block at a certain time
0 191 posted 6 years ago by yannxou
Insert our text in IOS UIView with UILabel on screen
0 120 posted 6 years ago by ferlom
Call this method to set the intervals for a UISlider in Monotouch. You can remove the textbox parameter if you don't have them linked to sliders.
0 69 posted 6 years ago by negzero7
This is all about appending strings.
0 230 posted 7 years ago by ryantxr
This is a simple fix for the iOS zoom bug that happens when changing screen orientations.
0 124 posted 7 years ago by bitsculptor
Add the init() function to your document.ready call. This allows touch events to be handled like click events.
0 120 posted 7 years ago by bitsculptor
iOS Meta-Tag um das skalieren des Contents zu sperren!
0 106 posted 7 years ago by dejot
pass a variable from web site (in php, in this case) to iOS app.
0 167 posted 7 years ago by code4mac
This method will alloc the current class unless the device is a phone (also defined here). Then it will try to alloc the class with the suffix "Phone."
0 158 posted 8 years ago by yar
Create a UIButton programatically
1 142 posted 8 years ago by zopebie
The UISegmentedControl consists of a horizontal control divided into segments. Segmented controls are useful for allowing users to pick from a group or set of values. Each segment functions as its own button. By default, selecting a segment will d...
1 158 posted 8 years ago by zopebie
When performing tasks that may take some time, you often need to provide some kind of visual feedback to your users. If you know how long the task will take to complete, you can use a progress indicator to show the user how much of the task has been...
1 93 posted 8 years ago by zopebie
Reference: http://iosfonts.com/
1 236 posted 8 years ago by zopebie
A sample code to show the scrolling, panning and zooming with UIScrollView
1 242 posted 8 years ago by zopebie
HTML Snippet for apple-touch-icon for all of the different iOS devices, and Android 2.0 supported Icon.
0 162 posted 8 years ago by luizlopes
Extract groups from a Regular Expression
0 213 posted 8 years ago by BenClayton
Force NSLocalizedString to use a specific language
1 137 posted 8 years ago by kajinka13
Mantenere in background (musica, location)
0 83 posted 8 years ago by kajinka13
Create custom web clip icons or "app logos" in various sizes to be displayed (instead of the default site snapshot) when users save your site to their Home screens. Across Safari iOS devices. Add in the <head> in the same place you call your norm...
0 131 posted 8 years ago by beneberle
This function will detect the orientation (portrait/landscape) of an iOS device and set the body class to either portrait or landscape, as well as providing a global variable for use elsewhere in your JS. If you require multiple classes on your bo...
3 130 posted 8 years ago by iridium
Here is a nice function you can use to implement a custom background for your UINavigation Bars Simply make two images in photoshop: 32 x 32 44 x 44 and name them whatever you want. put them in your iPhone project by dragging and dro...
1 195 posted 8 years ago by codeRefiner
« Prev 1 2 3