Installing wordpress locally on windows machine with the XAMPP server.

 

Installing wordpress locally on windows machine with the XAMPP server.
installing wordpress using xampp edit in notepad++
Step-by-Step Installation process of wordpress.
Download from wordpress.org

http://www.swamios.com

Continue reading

iOS 9 features

ios-9-features are

1. app switcher puts app icon on top rather than bottom, otherwise no change.
2. i can now make my iphone force me to remember people’s actual phone numbers and email addresses?
3. faster scrolling through pictures does seem nice. i still miss seeing all of my places on the map though.
4. since the messages app only allows one person’s texts on screen at a time, and their name is at the top, what’s the point?
5. how is sorting notifications by “recent” any different than by time? and more importantly, when will apple restore the single-screen notifications that included calendar events, or at least give us the option to restore this feature? and when will apple allow us to see events further than 6 hours away? and will they finally kill the stupid “you have an appointment tomorrow, but i’m not telling you what or where”?
6. that looks like a useful feature for spotlight search.
7. no! don’t launch and play music when i plug in my headset to talk!
8. is making icloud its own app like making facetime its own app?  i.e., separate app but no new functionality, and you’ll never use it anyway b/c you’ll only access it through the primary app (like phone for facetime).
9. i can see the value in split screening. pity it requires new hardware though.
10. my spotlight search on my iphone 6 with ios 8 does not find any contacts at all, so this sounds like a huge improvement over opening my contacts app and scrolling the list
11. b/c apple pay was so hard to use before. uh huh.
12. um, lack of transit or “what’s nearby” weren’t the reasons that nobody uses apple’s native maps app.
13. a power save mode that disables your phone’s functionality. i can only hope they got rid of the low battery warnings that freeze your phone while still allowing the app that’s causing the drain to continue to burn juice.
14. that list of albums doesn’t show videos. i tremble when apple adds dubious functionality, but removes meaningful functionality.
15. ooh fonts! like demanding i update to add smilies. there’s another 1 gb of space on my phone gone. there’s a reason i never “up”graded to 8.3.
16. the shift key is great! i hate having to guess.
17. the back button is nice, yes. next up is a setting that prevents hijacking (like certain ads on safari pages that force launch the app store).
18. i know, sharing notes is a game-changer. b/c before this, the iphone had no means to send texts or emails. oh wait…
19. doesn’t interacting with (tapping) siri defeat its purpose?
20. searchable settings is definitely an improvement.
21. again, lack of transit ain’t the reason no one uses apple maps.
22. because there’s nothing i love more than big images that slow my downloads and make me wait forever to read an article.
23. stopped reading at apple watch.
24. selecting text is really needed for the iphone, where the screen is small and it can be hard to find the text you need to select.
25. the real question will be what apps, and the functionality of those apps, you can run while picture-in-picture is playing a video.

Execution States for Apps in iOS

State Description
Not running The app has not been launched or was running but was terminated by the system.
Inactive The app is running in the foreground but is currently not receiving events. (It may be executing other code though.) An app usually stays in this state only briefly as it transitions to a different state.
Active The app is running in the foreground and is receiving events. This is the normal mode for foreground apps.
Background The app is in the background and executing code. Most apps enter this state briefly on their way to being suspended. However, an app that requests extra execution time may remain in this state for a period of time. In addition, an app being launched directly into the background enters this state instead of the inactive state. For information about how to execute code while in the background, see Background Execution.
Suspended The app is in the background but is not executing code. The system moves apps to this state automatically and does not notify them before doing so. While suspended, an app remains in memory but does not execute any code.

When a low-memory condition occurs, the system may purge suspended apps without notice to make more space for the foreground app.

Gesture Recognizing in iOS

1)Tapping (UITapGestureRecognizer): Tapping one or more fingers on the screen.

2)Long Pressing (UILongPressGestureRecognizer): Pressing one or more fingers to the screen for a specific period of time.

3)Pinching (UIPinchGestureRecognizer): Pinching to close or expand something.

4)Rotating (UIRotationGestureRecognizer): Sliding two fingers in a circular moton.

5)Swiping (UISwipGestureRecognizer): Swiping with one ormore fingers in a specific direction.

6)Panning (UIPanGestureRecognizer): Touching and dragging.

7) Shaking : Physically shaking the iOS device.

Button Event Action in iOS. UIControlEventTouchUpInside,UIControlEventTouchDown.

iOS button action
UIControlEventTouchCancel

  • A system event canceling the current touches for the control.

UIControlEventTouchDown

  • A touch-down event in the control.

UIControlEventTouchDownRepeat

  • A repeated touch-down event in the control; for this event the value of the UITouch tapCount method is greater than one.

UIControlEventTouchDragEnter

  • An event where a finger is dragged into the bounds of the control.

UIControlEventTouchDragExit

  • An event where a finger is dragged from within a control to outside its bounds.

UIControlEventTouchDragInside

  • An event where a finger is dragged inside the bounds of the control.

UIControlEventTouchDragOutside

  • An event where a finger is dragged just outside the bounds of the control.

UIControlEventTouchUpInside

  • A touch-up event in the control where the finger is inside the bounds of the control.

UIControlEventTouchUpOutside

  • A touch-up event in the control where the finger is outside the bounds of the control.

more…

How to play video file in iOS

Create project with singleViewApplication.

1)First Add the mediaPlayerFramework. >> Build Phases >> Link Binary with lib.. and search there MediaPlayer.framework

mediaPlayerFramework

2)select storyboard and in viewController add a button with the name of TapMe.

iOS Tap me button

3)select viewController.h and drag the TapMe button with the Action and touchUpInside event.

4)open the viewContoller.m  and in TapMe method try following code

-(IBAction)TapMe {

media framework in ios}

Finally build and run

Media Player Framework

The Media Player framework (MediaPlayer.framework) provides high-level support for playing audio and video content from your app. You can use this framework to do the following:

  • Play video to a user’s screen or to another device over AirPlay. You can play this video full screen or in a resizable view.
  • Access the user’s iTunes music library. You can play music tracks and playlists, search for songs, and present a media picker interface to the user.
  • Configure and manage movie playback.
  • Display Now Playing information in the lock screen and App Switcher. You can also display this information on an Apple TV when content is delivered via AirPlay.
  • Detect when video is being streamed over AirPlay