It is not possible to access your mobile SMS in iOS for some security reasons but if you want that feature you can implement below things: -You can get your verification code according to mobile number from server side. -generate URL scheme of your app …
RealtimeChat with Firebase
KEY FEATURES Firebase backend (full realtime actions) Realm local database (full offline availability) AES-256 encryption FEATURES Live chat between multiple devices Group chat functionality Private chat functionality Single or Multiple recipients Push notification support No backend programming is needed Native and easy to customize user …
Play All Video without freeze and gap between two videos
1. Implement SHBQueuePlayer third party class you can download from github: https://github.com/jiutianhuanpei/SHBQueuePlayer 2. Implement AVPlayerViewController class 3. The below function is used for set urls for play video. – (void)setUrls:(NSMutableArray *)urls index:(NSInteger)index { [_playedUrls removeAllObjects]; [_nextUrls removeAllObjects]; if (urls.count == 0 || urls == nil) …
How to check internet is access or not when device connected with WIFI?
You can check internet is accessible or not when your device connected with WIFI with following code. You need to import Reachability.h & Reachability .m in Appdelegate class and do following code in didFinishLaunchingWithOptions: function. self.reachability = [Reachability reachabilityWithHostName:@”www.google.com”]; //self.reachability = [Reachability reachabilityForInternetConnection]; // Start Monitoring …
Change the titleLabel of UIButton which title type is Attributed in Storyboard / Xib file
Issue : I have use below code to change Title and set underline of UIButton at run time. [btnTemp setTitle:@”Test” forState:UIControlStateNormal]; I have got below issues: 1. Underline is not showing 2. Title not change 3. Title color is display default black. To overcome this …
Display list of UITextField in UITableview
Question : How to make list of UITextField in UITableview ? Review the below steps and try your own. 1. Implement one model class of .h and .m which is subclass of NSObject. //Here Class name is TextFieldFormElement.h and TextFieldFormElement.m 2. Declare the property for …
Remove mirror(flip,invert) effect after capturing photos from front camera
If you are using API level >= 14, you can easily use a TextureView to mirror the preview image back to the original. for SurfaceView you can apply Matrix to a captured Bitmap in onPictureTaken method. private Camera.PictureCallback mPicture = new Camera.PictureCallback() { @Override …
Android Nougat Support : FileProvider Concept
In Android N, Opening a file from the SD card is different. When targeting Android N, file:// URIs are not allowed anymore. We should use content:// URIs instead. FileProvider class is used to give access to the particular file or folder to make them accessible …
Openfire auto startup
1. Add link from /etc/init.d top openfire binary sudo ln -s /opt/openfire/bin/openfire /etc/init.d/openfire 2. Register the link with system to fire up openfire on start up update-rc.d openfire defaults Restart system and success!