FAQ Database Discussion Community


Facebook text share not working with UIActivityViewController

ios,objective-c,facebook,uiactivityviewcontroller,iphone-6
Well, the situation is when I am trying to share text in facebook with UIActivityViewController, the share text shows blank in the facebook popup whereas the URL provided comes but text doesn't show in Facebook share dialog or popup. One more thing sometimes the URL also don't come or show...

AVPlayer Crashes on Device When Dismissing View

ios,avplayer,iphone-6,swrevealviewcontroller
I'm having an issue with the AVPlayer. I've tried many solutions but it still crashes after I move to a different view. class GuideVideo : BaseViewController{ var avPlayer: AVPlayer? var avPlayerLayer: AVPlayerLayer? override func viewDidLoad() { super.viewDidLoad() generateVideo() } func generateVideo () { let videoURLWithPath = data["VideoUrl"] let videoFilePath =...

iPhone 6 Launch Screen Images issue

ios,iphone,xcode,splash-screen,iphone-6
My app is not support iPhone 6 but it will running nice with scaled mode. there is no launch image previously. but now if I try to put launch image for iPhone6 then the view are not displays correctly as previous scaled mode. I used image.assets folder LaunchImage. I don't...

Storyboard size on iPhone6 after update

ios,xcode,storyboard,iphone-6
I take a old app with a 3 storyboard inside: iPhone4 || iPhone5 || iPad at the moment from the AppStore this working well on iPhone6 and 6Plus even if not have iPhone6.storyboard inside show in full screen correct position, but now during the test on iPhone6 (device not simulator)...

Unable to detect ibeacon on iphone 6

ios,objective-c,ibeacon,iphone-6
Hi i have below code which works fine on iPod touch 5, but same code is not working on iPhone 6, i done research on same issue but i have not found anything useful. both devices have latest iOS. Both devices have iOS 8 // MapViewController.m // SidebarDemo // //...

Necessary to Shift to IOS AutoLayout?

ios,objective-c,autolayout,xib,iphone-6
I have an app up and running which uses old iOS xib design methods of springs and struts. Each screen contains two xib files for iPhone 3.5 inch and iPhone 4 inch, all programmatic animations are slightly generically made such that they work on both resolutions. Since the introduction of...

Dealing with graphical assets for iPhone 5/5S/6/6 Plus

ios,iphone,xcode6,iphone-6,iphone-6-plus
Since the induction of 6 and 6 plus its the first time I'm starting to work on a new app. Now I'm a bit confused about the use of graphical assets for my app. See for 5/5S things were pretty simple. If I have to make an image view of...

Autolayout: origin and size should change according to width and height factor

ios,autolayout,nslayoutconstraint,iphone-6,adaptive-ui
Here is a scenario what I needed. I have put a UIButton on IB (size iPhone4 inch) whose initial frame on IB is x:100,y:100,w:100,h:100. I want the origins and height should change according to device size. for example the width and height of iPhone6 is 375X667, hence the width factor...

iPhone6 Display Zoom Functionality disturbs the whole view

objective-c,ios8,uibutton,retina-display,iphone-6
I'm faces a problem with iPhone6' Display Zooms functionality, as on Xcode 6.1.1 simulator don't have Display Zoom functionality to test and its have standard display only. Problem: When I run my code on simulator and iPhone6 (with standard display) its work fine, but when I run my code on...

iPhone6 view size is samller with autolayout

ios,iphone,autolayout,iphone-6
I have added autolayout but no size class.. I get this in iPhone 6 simulator.....